ChatGPT-wechat-bot icon indicating copy to clipboard operation
ChatGPT-wechat-bot copied to clipboard

小白求助一下,这个怎么处理

Open herfavor opened this issue 2 years ago • 2 comments

lighthouse@VM-0-14-ubuntu:~$ npm i npm WARN saveError ENOENT: no such file or directory, open '/home/lighthouse/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/lighthouse/package.json' npm WARN lighthouse No description npm WARN lighthouse No repository field. npm WARN lighthouse No README data npm WARN lighthouse No license field.

up to date in 0.297s found 0 vulnerabilities

lighthouse@VM-0-14-ubuntu:~$ npm run dev npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/lighthouse/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/lighthouse/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! /home/lighthouse/.npm/_logs/2023-02-08T03_25_35_006Z-debug.log lighthouse@VM-0-14-ubuntu:~$

或者有大佬出详细些的教程吗?在服务器上弄不出来了...

herfavor avatar Feb 08 '23 03:02 herfavor

You should enter the folder where you download / clone the codes. For example: cd ChatGPT-wechat-bot And then, run npm i

jts0926 avatar Feb 08 '23 03:02 jts0926

You should enter the folder where you download / clone the codes. For example: cd ChatGPT-wechat-bot And then, run npm i

thank you

herfavor avatar Feb 08 '23 03:02 herfavor