Current Behavior:
Running npm run serve in a Vue CLI generated project compiles successfully but doesn't start the development server.
From package.json:
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
}
The output at the end of compilation is
DONE Compiled successfully in 37363ms 5:25:52 PM
No type errors found
Version: typescript 3.9.7
Time: 13398ms
Before the upgrade to npm 7, the server started as usual. When I run ./node_modules/.bin/vue-cli-service serve, the server starts as usual too. Lastly when I create a fresh Vue app with the CLI and run the server script, the server starts successfully as well, using npm 7:
DONE Compiled successfully in 90751ms 6:19:22 PM
No type errors found
Version: typescript 3.9.7
Time: 12908ms
App running at:
- Local: https://192.168.0.1:8080/
- Network: https://192.168.0.1:8080/
Note that the development build is not optimized.
To create a production build, run npm run build.
Expected Behavior:
Dev server starts just like before the upgrade from npm 6 to npm 7.
Steps To Reproduce:
I cannot reproduce the problem yet and am asking for help to debug the issue. How can I get information about what's going wrong during server startup?
Environment:
OS: macOS 10.15.7
Node: 12.16.1
npm: 7.5.4
Current Behavior:
Running
npm run servein a Vue CLI generated project compiles successfully but doesn't start the development server.From
package.json:The output at the end of compilation is
Before the upgrade to npm 7, the server started as usual. When I run
./node_modules/.bin/vue-cli-service serve, the server starts as usual too. Lastly when I create a fresh Vue app with the CLI and run the server script, the server starts successfully as well, using npm 7:Expected Behavior:
Dev server starts just like before the upgrade from npm 6 to npm 7.
Steps To Reproduce:
I cannot reproduce the problem yet and am asking for help to debug the issue. How can I get information about what's going wrong during server startup?
Environment:
OS: macOS 10.15.7
Node: 12.16.1
npm: 7.5.4