vue npm run dev 提示To install them, you can run: npm install --save @/url
vuenpm run dev 提示To install them
·
ERROR Failed to compile with 2 errors
These dependencies were not found:
* @/api/system/tb_channel_config 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/s
ystem/tb_authen_log/index.vue?vue&type=script&lang=js&
* @/api/system/tb_game 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/system/tb_a
uthen_log/index.vue?vue&type=script&lang=js&
To install them, you can run: npm install --save @/api/system/tb_channel_config @/api/system/tb_game
To install them.. 这样的错误原因有很多,仅对本项目来说,从最后一行能看出来,是自己项目对应目录下缺少js文件:
![](https://i-blog.csdnimg.cn/blog_migrate/de7cef0e8bdc509dde2540a111ef3f1e.png)
放入对应的文件即可:
![](https://i-blog.csdnimg.cn/blog_migrate/72da610349d444890b08ed941cdf6911.png)
更多推荐
所有评论(0)