Git Product home page Git Product logo

Comments (4)

VincentChanX avatar VincentChanX commented on June 28, 2024

npm install 一下 把依赖的模块装上

from shadowsocks-over-websocket.

1095893390 avatar 1095893390 commented on June 28, 2024

npm install
The program 'npm' is currently not installed. You can install it by typing:
sudo apt install npm
然后
sudo apt install npm
之后
npm install
这些成功后进行启动显示
[2017-10-23 22:22:26.140] [FATAL] local - an error of local occured { Error: listen EADDRINUSE 127.0.0.1:1080
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1262:14)
at listen (net.js:1298:10)
at net.js:1408:9
at _combinedTickCallback (internal/process/next_tick.js:83:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:383:7)
at startup (bootstrap_node.js:149:9)
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '127.0.0.1',
port: 1080 }
(node:4325) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: listen EADDRINUSE 127.0.0.1:1080
自己另外查了下自己的

git version 2.14.1
node version6.11.4

作者大大有什么指示哈哈。还是看不懂那段错误代码是哪里错了
@VincentChanX

from shadowsocks-over-websocket.

youmeiwu avatar youmeiwu commented on June 28, 2024

我刚才遇到和你一样的问题,百度后,解决了。
我的系统是mac osx

问题是:端口被占用
解决方法是:让端口不被占用

步骤

  1. 查找端口被什么给占用了,命令行输入
    lsof -i tcp:1080
    会看到占用端口程序的PID数字
  2. 把这个项目关掉,命令行输入
    kill 刚才那个PID数字

希望能帮到你

from shadowsocks-over-websocket.

1095893390 avatar 1095893390 commented on June 28, 2024

虽然又退回了Ubuntu16.04但是还是谢谢你们

from shadowsocks-over-websocket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.