我正在做一个我下载的项目,但在设置和启动环境方面遇到了困难。在纱线安装、纱线生成、然后纱线开始-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.我已经跟踪了readMe文件的设置.我试着搜索每一行错误信息,但是没有什么帮助解决退出的问题。
我觉得我一定是错过了什么..。有些事情在自述文件中没有记录.
任何帮助都将不胜感激。
发布于 2021-12-06 07:55:50
我认为您需要检查您的package.json文件,特别是脚本文件
如果您共享更多的开始文件的引用,它将更好地理解。
很高兴帮助你
发布于 2022-02-08 17:32:39
此错误显示您在ssl设置方面有问题,您必须准备自签名SSL证书。
https://stackoverflow.com/questions/70240521
复制相似问题