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

Ошибка #1

Open
daisreaux opened this issue Aug 17, 2018 · 0 comments
Open

Ошибка #1

daisreaux opened this issue Aug 17, 2018 · 0 comments

Comments

@daisreaux
Copy link

При сборке на Debian/CentOS выдаются ошибки
Так же при запуске сервиса выдаются ошибки и сервер падает полностью пока не перезагрузишь его.

[root@~]# cd telegramMsg
[root@telegramMsg]# npm start

telegrammsg@1.0.0 start /root/telegramMsg
nodemon ./bin/www

[nodemon] 1.14.12
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting node ./bin/www
[nodemon] restarting due to changes...
[nodemon] starting node ./bin/www
[nodemon] restarting due to changes...
[nodemon] starting node ./bin/www
[nodemon] restarting due to changes...
[nodemon] starting node ./bin/www
GET / 200 613.013 ms - 2005
GET /javascripts/blurForm.js 304 4.421 ms - -
GET /images/bg.jpg 304 0.993 ms - -
GET /stylesheets/style.css 200 26.626 ms - -
GET /javascripts/cleanForm.js 304 1.040 ms - -
GET /javascripts/app.js 304 0.903 ms - -
GET /images/symbols.svg 304 0.892 ms - -
GET /fonts/bernier-regular.woff 304 0.828 ms - -
GET /fonts/roboto-medium.woff 304 0.751 ms - -
error: { Error: connect EHOSTUNREACH 149.154.167.220:443
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
code: 'EHOSTUNREACH',
errno: 'EHOSTUNREACH',
syscall: 'connect',
address: '149.154.167.220',
port: 443 }
statusCode: undefined
body: undefined
/root/telegramMsg/api/telegramMsg.js:19
if(response.statusCode===200){
^

TypeError: Cannot read property 'statusCode' of undefined
at Request._callback (/root/telegramMsg/api/telegramMsg.js:19:17)
at self.callback (/root/telegramMsg/node_modules/request/request.js:186:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (/root/telegramMsg/node_modules/request/request.js:878:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
[nodemon] app crashed - waiting for file changes before starting...

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

1 participant