-
Notifications
You must be signed in to change notification settings - Fork 309
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
我是小白,还是没法看懂如何运行elecV2P #170
Comments
我是从https://github.com/Oreomeow/checkinpanel这里过来的 |
仔细看看项目 Readme.md 的说明吧。记得先 yarn 安装依赖。
其他我也没办法更详细的说明了
|
C:\Users\User\elecV2P>yarn C:\Users\User\elecV2P>yarn global add pm2 C:\Users\User\elecV2P>yarn start 这个就是我跟着readme.md 的步骤做的具体哪里有问题呢 |
看起来没什么问题。找到 logs目录下的 errrors.log 看有什么提醒
|
[webSocket error][2022-07-25 00:05:38.723] websocket error Error: listen EADDRINUSE: address already in use :::80
|
80端口已占用。再看看readme 里的说明吧
|
是这样吗 C:\Users\User\elecV2P>set PORT=8000 node index.js C:\Users\User\elecV2P>node index.js
|
学会简单的看看日志,和 google 等搜索工具,比如:error][2022-07-25 15:24:10.101] websocket error Error: listen EACCES: permission denied 8000
|
我感觉真的要下载好多东西 首先我下载了git,下载了nodejs,下载了yarn
搞完了跟着步骤安装后,我发现我不会打开那个控制面板
也不知道是不是要修改index.js or config.js 的文件
我也不知道怎么样查看服务器地址QAQ 有没有大佬出个视频教一教
yarn install v1.22.19>yarn
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
Done in 0.21s.
yarn run v1.22.19cV2P>yarn start
$ pm2 start index.js -n elecV2P -o logs/pm2.log -e logs/pm2-error.log --no-daemon
pm2 launched in no-daemon mode (you can add DEBUG="*" env variable to get more messages)
[PM2][ERROR] Script already launched, add -f option to force re-execution
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
C:\Users\User\elecV2P>node index.js
[utilsFile info][2022-07-25 00:57:20.162] elecV2P start 10 times
[funcTask info][2022-07-25 00:57:20.249] retrieve task from Lists/task.list
[funcTask info][2022-07-25 00:57:20.250] no autoupdate for sub task: elecV2P 任务订阅
[elecV2P notify][2022-07-25 00:57:20.255] default rules: disabled
[elecV2P notify][2022-07-25 00:57:20.255] rewrite rules: 1
[elecV2P notify][2022-07-25 00:57:20.256] MITM hosts: 2
[webSocket notify][2022-07-25 00:57:20.271] websocket on path: /elecV2P
[elecV2P info][2022-07-25 00:57:20.271] anyproxy not enabled yet
[webSocket error][2022-07-25 00:57:20.274] websocket error Error: listen EADDRINUSE: address already in use :::80
at Server.setupListenHandle [as _listen2] (node:net:1372:16)
at listenInCluster (node:net:1420:12)
at Server.listen (node:net:1508:7)
at module.exports (C:\Users\User\elecV2P\webmodule.js:59:10)
at Object. (C:\Users\User\elecV2P\index.js:4:1)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 80
}
[logger info][2022-07-25 00:57:20.279] total amount of logs: 6 total size: 23.74 K
elecV2P exited.
The text was updated successfully, but these errors were encountered: