Error

error:0308010C:digital envelope routines::unsupported

Solution

Just add "set NODE_OPTIONS=--openssl-legacy-provider" in front of build command. "scripts": { "dev": "set NODE_OPTIONS=--openssl-legacy-provider & node build/dev-server.js", "serve": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service serve", "build": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service build", "build:report": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service build --report", }