使用pnpm dlx nuxi init nuxt-app创建了nuxt3.0.0-rc13的空项目,使用pnpm install --shamefully-hoist安装了依赖项。
部署服务器开始使用pnpm dev,但请求以500结束。错误说是request to http://localhost:3000/__nuxt_vite_node__/manifest failed, reason: connect ETIMEDOUT 127.0.0.1:3000 ()。
根据文档,如果机器正在开发中使用自签名证书,则需要在环境中设置NODE_TLS_REJECT_UNAUTHORIZED=0。
我该如何证实这样的事情呢?
这是否是解决上述错误的办法?
发布于 2022-11-07 19:54:59
OP通过从Node v16.18.0升级到v18.12.1来解决这个问题。
主要使用当前的LTS:https://nodejs.org/en/ (如文档推荐的那样)
发布于 2022-11-07 19:39:25
Node.js从16.18.0更新到18.12.1,解决了问题。
https://stackoverflow.com/questions/74348870
复制相似问题