Six months ago the Vuejs project, because the Webpack environment has been 1.0, not to say will not change and dare not change.
Word. When I start this project again: NPM Run DEV/NPM Run build
Constantly reported missing some modules of the error, at first I did not care about the guide one after the download, downloaded a few after. I suddenly found something wrong.
Later doubts were webpack the new version of the issue. The global reload was back to 1. X version. Later only to know that it was wrong. Because the compiled version is based on the webpack of the current project. That is, I do use version 1.0 to compile. and the error.
And then I thought it was nodejs. The upgraded version is too high to be stable. Immediately found a stable version of the reload. The result is still wrong.
Under the helpless. I also use NPM to install (because of the wall, I almost use cnpm to install, maybe it's a problem?). )。 As a result, the TM NPM still has a lot of problems that make my module incomplete.
Let's just say the result:
I removed the entire node_modules and then used the CNPM install. After a long wait, the installation is complete
Execute NPM Run DEV/NPM Run build
Success!
When half a year does not touch the Webpack + Vuejs project to see the god pit!