node.js - Error when using npm start: Cannot find module 'v8flags'
我想大声告诉你
我想大声告诉你 2017-05-16 13:21:13
0
3
1104

1. When using npm start to start the project, the error Cannot find module 'v8flags' was reported

2. Error message

Part of the code of 3.package.json:

{
  "name": "practice",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "webpack": "webpack -d --watch",
    "start": "nodemon --exec babel-node app.js"
  }
  
  

Google searches have been about gulp errors, but I am using webpack. I don’t know if there is a problem with the configuration or something else. Could you please help me answer it.

我想大声告诉你
我想大声告诉你

reply all(3)
迷茫

Missing module v8flags,你重新安装一下 babel-cli .

迷茫

npm run start

洪涛

I encountered the same problem as you, how did you solve it?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!