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

Error: Cannot find module 'commander' #6

Closed
Hiboboo opened this issue Jul 23, 2018 · 6 comments
Closed

Error: Cannot find module 'commander' #6

Hiboboo opened this issue Jul 23, 2018 · 6 comments

Comments

@Hiboboo
Copy link

Hiboboo commented Jul 23, 2018

tim 20180723115036
直接报错了啊。
看了app.js的源码,貌似是const program = require('commander')找不到commander模块?

@nondanee
Copy link
Owner

npm install

@Hiboboo
Copy link
Author

Hiboboo commented Jul 23, 2018

@nondanee 问题解决了已经,我用了npm install commander --save命令之后就可以正常运行了。
但是,新的问题出现了。实在是不好意思,没看懂你写的那个使用文档,修改Hosts是怎么修改的?修改本地的Hosts文件内容吗?还是修改别的什么东西?
因为我运行了app.js之后,打印了Server running @ http://0.0.0.0:8080这个信息,并且易云里的歌曲还是灰色不可点击的。我要怎么做呢?

@nondanee
Copy link
Owner

nondanee commented Jul 23, 2018

Windows客户端?UWP?还是?

@Hiboboo
Copy link
Author

Hiboboo commented Jul 23, 2018

@nondanee 对,Windows10版本的

@nondanee
Copy link
Owner

ping music.163.com

看一下网易云服务器的IP,像我这边是223.252.199.66
然后在hosts文件里加两行内容

127.0.0.1 music.163.com
127.0.0.1 interface.music.163.com

启动的时候用

node app.js -p 80 -f 223.252.199.66

IP用上面ping到的IP

@Hiboboo
Copy link
Author

Hiboboo commented Jul 23, 2018

多谢多谢,已成功可以用了。
再次感谢!!!
真心牛逼的很,哈哈哈

This was referenced Aug 10, 2018
arition pushed a commit to arition/UnblockNeteaseMusic that referenced this issue May 17, 2021
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