真真的懵逼,查问题查了大半天!!!

 ERROR  Failed to compile with 1 error                                                                                                                                                                                            下午4:31:59

This dependency was not found:

* build/webpack.base.conf in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/permission/page.vue?vue&type=script&lang=js&

To install it, you can run: npm install --save build/webpack.base.conf
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'

 ERROR  Failed to compile with 1 error                                                                                                                                                                                            下午4:31:59

This dependency was not found:

* build/webpack.base.conf in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/permission/page.vue?vue&type=script&lang=js&

To install it, you can run: npm install --save build/webpack.base.conf
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
Error from chokidar (C:\node_modules): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'
 

错误原因:不正确的引用,应该是我敲代码时语法错误触动某个插件自动帮我生成的。我自己并不知道这条引用时啥时候生成的……贼坑

 

排查过程: 既然是路径错误,那么肯定是引用了。那么就搜一下是哪个文件引用的,找到发现就是正在写的文件,不知道啥时候自动生成的。太太太坑了,特此记录。

解决办法:自然是把这条莫名其妙的引用给删掉了。

 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐