Vue-cli installation depends on error reporting

after initializing the project with vue-cli, due to previous negligence, git was used to manage the project. After branch switching, the node_module file was lost. This reason has been found. The problem now is that I rely on the following error from the new installation package

: npm start

because I don"t have much contact with this piece, I don"t know why this happens, and how to solve it. Please advise


1. Git management is to have gitignore, that is, to avoid affecting node_moudle, as long as there is package.json management on the line
2. The indication of npm initialization failure is clear, the system environment is wrong, and the need for drawin, cannot be windows
3. Initialization failed. Why npm start??


  1. the one on which the reinstallation depends is not an error, but a warn (warning), indicating that your system is windows does not support the optional module fsevent,. This is not an error;
  2. when executing run dev, you are prompted to fail in resource optimization. You can delete node_module, and reinstall it. In China, it is recommended that you use cnpm (npm's Taobao image) to install. It is faster and easier to install successfully
  3. .
  4. add the .gitignore file before doing 2, write a line of node_module and save it, commit into the warehouse, and then reinstall node_module

No more, let's post it again


I have installed it 3 times. You can try the problems I encounter. Use the vue init webpack command and then delete the node_module directory, and you will encounter the same problem during reinstallation

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b3e3-4d11a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b3e3-4d11a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?