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

运行出错,什么原因? #52

Open
david-95 opened this issue Sep 27, 2023 · 1 comment
Open

运行出错,什么原因? #52

david-95 opened this issue Sep 27, 2023 · 1 comment

Comments

@david-95
Copy link

E:\AppWorkspace\electron-vue-cloud-music-master>npm run start

[email protected] start E:\AppWorkspace\electron-vue-cloud-music-master
vue-cli-service electron:serve

INFO Starting development server...
98% after emitting SizeLimitsPlugin

ERROR Failed to compile with 8 errors 13:52:40
These dependencies were not found:

  • ant-design-vue/es/auto-complete/style in ./src/renderer/plugins/andt-design-vue.js
  • ant-design-vue/es/back-top in ./src/renderer/plugins/andt-design-vue.js
  • ant-design-vue/es/back-top/style in ./src/renderer/plugins/andt-design-vue.js
  • ant-design-vue/es/icon/style in ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/renderer/components/ZIcon/index.vue?vue&type=script&lang=js&, ./src/renderer/plugins/andt-design-vue.js
  • ant-design-vue/es/locale-provider/style in ./src/renderer/plugins/andt-design-vue.js
  • ant-design-vue/es/time-picker/style in ./src/renderer/plugins/andt-design-vue.js
  • ant-design-vue/lib/locale-provider/zh_CN in ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/renderer/layouts/BasicLayout.vue?vue&type=script&lang=js&

To install them, you can run: npm install --save ant-design-vue/es/auto-complete/style ant-design-vue/es/back-top ant-design-vue/es/back-top/style ant-design-vue/es/icon/style ant-design-vue/es/locale-provider/style ant-design-vue/es/time-picker/style ant-design-vue/lib/locale-provider/zh_CN

@david-95 david-95 changed the title 运行出错 运行出错,什么原因? Sep 27, 2023
@Entremets
Copy link

npm设置一下eletron镜像
npm config set electron_mirror=https://registry.npmmirror.com/-/binary/electron/

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

2 participants