【发布时间】:2022-01-11 08:51:05
【问题描述】:
我正在处理我下载的项目,但在设置和启动环境时遇到了问题。 在 yarn install、yarn build 和 yarn start-https 之后,我收到以下错误消息:
Error: error:0909006C:PEM routines:get_name:no start line
at node:internal/tls/secure-context:65:13
at Array.forEach (<anonymous>)
at setCerts (node:internal/tls/secure-context:63:3)
at configSecureContext (node:internal/tls/secure-context:152:5)
at Object.createSecureContext (node:_tls_common:116:3)
at Server.setSecureContext (node:_tls_wrap:1344:27)
at Server (node:_tls_wrap:1203:8)
at new Server (node:https:69:3)
at Object.createServer (node:https:105:10)
at Server.createServer (.../node_modules/webpack-dev-server/lib/Server.js:677:35)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
我已按照自述文件的设置...我尝试在谷歌上搜索每一行错误消息,但没有任何帮助解决退出的问题。
我觉得,我一定遗漏了一些东西......自述文件中没有记录的东西......
任何帮助将不胜感激。
【问题讨论】:
标签: javascript node.js reactjs npm https