Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run server 报错,提示如下错误 #28

Open
zhangwonderful opened this issue Nov 27, 2019 · 5 comments
Open

npm run server 报错,提示如下错误 #28

zhangwonderful opened this issue Nov 27, 2019 · 5 comments

Comments

@zhangwonderful
Copy link

These dependencies were not found:

  • @/views/index/index in ./src/router/index.js
  • @/views/index/nearby_shops 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/category/category.vue?vue&type=script&lang=js&

To install them, you can run: npm install --save @/views/index/index @/views/index/nearby_shops

@Lucien123Liu
Copy link

我也是这个错误,请问你解决了么?

@zxk0nly1
Copy link

zxk0nly1 commented Mar 4, 2020

这个问题,就是博主源码中的src/views/index文件和文件夹命名为Index了,改一下,就完美解决了

@MouseSun846
Copy link

这个问题,就是博主源码中的src/views/index文件和文件夹命名为Index了,改一下,就完美解决了

楼主能说清楚点吗,怎么改?请指教

@chnyx
Copy link

chnyx commented Mar 22, 2020

这个问题,就是博主源码中的src/views/index文件和文件夹命名为Index了,改一下,就完美解决了

楼主能说清楚点吗,怎么改?请指教

将src/views/Index文件夹的大写改为小写src/views/index

@zhaoyanwenqi
Copy link

这个问题,就是博主源码中的src / views / index文件和文件夹命名为Index了,改一下,就完美解决了

楼主能说清楚点吗,怎么改?请指教

将src / views / Index文件夹的大写替换小写src / views / index

很完美解决错误,谢谢,博主该下吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants