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

vue中无法运行 #40

Closed
ChenWeiJiaGitHub opened this issue Feb 11, 2022 · 2 comments
Closed

vue中无法运行 #40

ChenWeiJiaGitHub opened this issue Feb 11, 2022 · 2 comments

Comments

@ChenWeiJiaGitHub
Copy link

当我运行程序的时候就会报错,也不知道是什么原因,哪位大神帮忙指点迷津,谢谢!
D:\works\qianduan\ywgz-mini-program>npm run dev
npm ERR! Windows_NT 10.0.19042
npm ERR! argv "D:\software\node\node_new\node.exe" "C:\Users\86152\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "ru
n" "dev"
npm ERR! node v16.14.0
npm ERR! npm v3.8.6
npm ERR! path D:\works\qianduan\ywgz-mini-program\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open 'D:\works\qianduan\ywgz-mini-program\package.json'
npm ERR! enoent ENOENT: no such file or directory, open 'D:\works\qianduan\ywgz-mini-program\package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! D:\works\qianduan\ywgz-mini-program\npm-debug.log

@xiaohk
Copy link
Member

xiaohk commented Feb 11, 2022

Hello @ChenWeiJiaGitHub!

Make sure you are running from the cnn-explainer directory (there should be a package.json file)
Then you need to run npm install before npm run dev.

Let me know if it doesn't solve your problem. I will close the issue for now.

@xiaohk xiaohk closed this as completed Feb 11, 2022
@ChenWeiJiaGitHub
Copy link
Author

好了,谢谢你!

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