Vercel部署失败:退出码1对应"npm run build"命令
<p><br /></p>
<pre class="brush:php;toolbar:false;">这是部署详细日志:
[15:19:45.948] throw err;
[15:19:45.948] ^
[15:19:45.948]
[15:19:45.948] Error: error:0308010C:digital envelope routines::unsupported
[15:19:45.948] opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
[15:19:45.948] library: 'digital envelope routines',
[15:19:45.948] reason: 'unsupported',
[15:19:45.948] code: 'ERR_OSSL_EVP_UNSUPPORTED'
[15:19:45.948] }
[15:19:45.948]
[15:19:45.948] Node.js v18.16.1
[15:19:45.972] Error: Command "npm run build" exited with 1</pre>
<p>Vercel部署错误npm run build退出码为1:我已尝试将npm run build添加到构建命令中,并添加环境变量CI=false,但错误仍然相同。</p>