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

前端跑不起来 #14

Closed
yf2468 opened this issue Sep 7, 2022 · 6 comments
Closed

前端跑不起来 #14

yf2468 opened this issue Sep 7, 2022 · 6 comments

Comments

@yf2468
Copy link

yf2468 commented Sep 7, 2022

PS C:\Users\vitagreen\Desktop\2022\ZrAdmin.NET-main\ZR.Vue> pnpm dev

zradmin@ dev C:\Users\vitagreen\Desktop\2022\ZrAdmin.NET-main\ZR.Vue
vue-cli-service serve

'vue-cli-service' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
 ELIFECYCLE  Command failed with exit code 1.
PS C:\Users\vitagreen\Desktop\2022\ZrAdmin.NET-main\ZR.Vue>

@izhaorui
Copy link
Owner

izhaorui commented Sep 7, 2022

npm 学习下

@yf2468
Copy link
Author

yf2468 commented Sep 8, 2022

使用npm run dev报错如下:
ERROR Failed to compile with 10 errors 09:08:43
These dependencies were not found:

  • core-js/modules/es.error.cause.js in ./node_modules/@babel/runtime/helpers/nonIterableRest.js, ./node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js and 6 others
  • core-js/modules/es.regexp.dot-all.js 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/components/ThemePicker/index.vue?vue&type=script&lang=js&, ./src/utils/ruoyi.js

To install them, you can run: npm install --save core-js/modules/es.error.cause.js core-js/modules/es.regexp.dot-all.js
Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat 'C:\DumpStack.log.tmp'

@izhaorui
Copy link
Owner

izhaorui commented Sep 8, 2022

环境要求是文档里面写的吗

@yf2468
Copy link
Author

yf2468 commented Sep 8, 2022

我是在github中下载源代码,然后在vs code里面打开运行的。文档中没有在vs里面打开的说明,后台则是正常的。

@yf2468
Copy link
Author

yf2468 commented Sep 8, 2022

可以了,谢谢,支付宝请你喝杯咖啡。

@izhaorui
Copy link
Owner

izhaorui commented Sep 8, 2022

感谢

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