vue-cli初始化一个webpack项目,我一修改文件就报这个错误。。什么情况
粉丝福利 : 关注VUE中文社区公众号,回复视频领取粉丝福利
E:\vue-project\test-vue\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:145 if(key.startsWith(what)) ^ TypeError: Cannot read property 'startsWith' of undefined at Storage.purge (E:\vue-project\test-vue\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:145:10) at Storage.purge (E:\vue-project\test-vue\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:150:9) at CachedInputFileSystem.purge (E:\vue-project\test-vue\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:259:20) at EventEmitter.watcher.once (E:\vue-project\test-vue\node_modules\webpack\lib\node\NodeWatchFileSystem.js:42:26) at EventEmitter.g (events.js:292:16) at emitTwo (events.js:106:13) at EventEmitter.emit (events.js:191:7) at EventEmitter._onTimeout (E:\vue-project\test-vue\node_modules\watchpack\lib\watchpack.js:142:7) at ontimeout (timers.js:386:14) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! test-vue@1.0.0 dev: `node build/dev-server.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the test-vue@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2017-07-24T11_07_51_484Z-debug.log