找到package.json文件右鍵,在集成終端中打開后,直接輸入set NODE_OPTIONS=--openssl-legacy-provider 或 $env:NODE_OPTIONS="--openssl-legacy-provider"回車,然后npm run serve重新運(yùn)行項(xiàng)目即可。1 2 3 4 // windows下 set NODE_OPTIONS=--openssl-legacy-provider // linux下 export NODE_OPTIONS=--openssl-...
www.dbjr.com.cn/javascript/319347w...htm 2025-5-29