npm run serve报错:error:0308010C:digital envelope routines::unsupported

在前端文件夹的终端运行

$env:NODE_OPTIONS="--openssl-legacy-provider"

你可能感兴趣的:(前端,npm)