vue踩坑-This relative module was not found
在使用vue.js的日期選擇插件 的時候,報錯以下html
-
This relative
module was not found:
-
-
* ../calendar.vue
in ./node_modules/babel-loader/lib!./node_modules/vux-loader/src/script-loader.js!./node_modules/vux-loader/src/script-loader.js!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/memberStates/adjustIntegrals.vue, ./node_modules/babel-loader/lib!./node_modules/vux-loader/src/script-loader.js!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/memberStates/adjustIntegrals.vue
-
![](http://static.javashuo.com/static/loading.gif)
相對應的模塊沒找到 calendar.vue 這個組件沒找到,位置在Header.vue,把路徑改下就好了。前端
改完路徑以後vue
![](http://static.javashuo.com/static/loading.gif)
![](http://static.javashuo.com/static/loading.gif)
終端提示,沒有安裝組件模塊
運行這個命令便可node
npm install
![](http://static.javashuo.com/static/loading.gif)
安裝完成,從新sql
npm run dev
![](http://static.javashuo.com/static/loading.gif)
原文做者:祈澈姑娘
技術博客:https://www.jianshu.com/u/05f416aefbe1
90後前端妹子,愛編程,愛運營,愛折騰。
堅持總結工做中遇到的技術問題,堅持記錄工做中所所思所見,歡迎你們一塊兒探討交流。npm