Solution when running and starting the vue project: node: --openssl-legacy-provider is not allowed in NODE_OPTIONS

The error reported is dev under Scripts in package.json

The solution is to upgrade your application code to support the new version of node.js

Or delete the SET NODE_OPTIONS=--openssl-legacy-provider && code, the following code can run normally

Guess you like

Origin blog.csdn.net/weixin_38225763/article/details/134708503