绣文字

关注

node执行报错“error Command failed with exit code 1.“

绣文字

关注

阅读 146

2022-04-19

项目执行yarn serve的时候,node报错了,如图
在这里插入图片描述
解决方案
终端执行这一行命令

export NODE_OPTIONS=--openssl-legacy-provider

再次运行程序即可

相关推荐

静守幸福

clang: error: linker command failed with exit code 1 (use -v to see invocation)

静守幸福 71 0 0

诗与泡面

Command SwiftCompile failed with a nonzero exit code

诗与泡面 9 0 0

alanwhy

Command CopyPNGFile failed with a nonzero exit code

alanwhy 141 0 0

dsysama

rust: error: linking with `cc` failed: exit code: 1

dsysama 313 0 0

左小米z

ios:Command PhaseScriptExecution failed with a nonzero exit code

左小米z 11 0 0

fbd4ffd0717b

error: command 'g++' failed with exit status 1 (during installation)

fbd4ffd0717b 8 0 0

40dba2f2a596

no identity found - Command CodeSign failed with a nonzero exit code

40dba2f2a596 108 0 0

双井暮色

command ‘gcc‘ failed with exit status 1

双井暮色 28 0 0

晗韩不普通

pip install pylibmc 失败方案error: command ‘clang‘ faile error command ‘clang‘ failed with exit status 1

晗韩不普通 70 0 0

巧乐兹_d41f

Showing Recent Messages Command CodeSign failed with a nonzero exit code

巧乐兹_d41f 103 0 0

精彩评论(0)

0 0 举报