hardillb / node-red-alexa-home-skill-web

Apache License 2.0
45 stars 28 forks source link

Error when running #80

Closed nilava closed 5 years ago

nilava commented 5 years ago

Running error nodejs -v6 npm -v3 same error with, nodejs- v8 npm - v6

2019-02-09T08:17:51.605417+00:00 app[web.1]: (node:22) DeprecationWarning: open() is deprecated in mongoose >= 4.11.0, use openUri() instead, or set the useMongoClient option if using connect() or createConnection(). See http://mongoosejs.com/docs/4.x/docs/connections.html#use-mongo-client 2019-02-09T08:17:51.621101+00:00 app[web.1]: App listening on 0.0.0.0:22276! 2019-02-09T08:17:51.621154+00:00 app[web.1]: App_ID -> http://localhost:22276 2019-02-09T08:17:51.623609+00:00 app[web.1]: events.js:160 2019-02-09T08:17:51.623611+00:00 app[web.1]: throw er; // Unhandled 'error' event 2019-02-09T08:17:51.623612+00:00 app[web.1]: ^ 2019-02-09T08:17:51.623614+00:00 app[web.1]: 2019-02-09T08:17:51.623619+00:00 app[web.1]: Error: ENOENT: no such file or directory, open 'log/debug-2019.02.09.log' 2019-02-09T08:17:51.623621+00:00 app[web.1]: at Error (native) 2019-02-09T08:17:51.658507+00:00 app[web.1]: 2019-02-09T08:17:51.675084+00:00 app[web.1]: npm ERR! Linux 4.4.0-1031-aws 2019-02-09T08:17:51.675467+00:00 app[web.1]: npm ERR! argv "/app/.heroku/node/bin/node" "/app/.heroku/node/bin/npm" "start" 2019-02-09T08:17:51.675755+00:00 app[web.1]: npm ERR! node v6.16.0 2019-02-09T08:17:51.676036+00:00 app[web.1]: npm ERR! npm v3.10.10 2019-02-09T08:17:51.676306+00:00 app[web.1]: npm ERR! code ELIFECYCLE 2019-02-09T08:17:51.676525+00:00 app[web.1]: npm ERR! home-skill-web@0.0.2 start: node index.js 2019-02-09T08:17:51.676708+00:00 app[web.1]: npm ERR! Exit status 1 2019-02-09T08:17:51.676923+00:00 app[web.1]: npm ERR! 2019-02-09T08:17:51.677107+00:00 app[web.1]: npm ERR! Failed at the home-skill-web@0.0.2 start script 'node index.js'. 2019-02-09T08:17:51.677297+00:00 app[web.1]: npm ERR! Make sure you have the latest version of node.js and npm installed. 2019-02-09T08:17:51.677484+00:00 app[web.1]: npm ERR! If you do, this is most likely a problem with the home-skill-web package, 2019-02-09T08:17:51.677667+00:00 app[web.1]: npm ERR! not with npm itself. 2019-02-09T08:17:51.677874+00:00 app[web.1]: npm ERR! Tell the author that this fails on your system: 2019-02-09T08:17:51.678167+00:00 app[web.1]: npm ERR! node index.js 2019-02-09T08:17:51.678366+00:00 app[web.1]: npm ERR! You can get information on how to open an issue for this project with: 2019-02-09T08:17:51.678555+00:00 app[web.1]: npm ERR! npm bugs home-skill-web 2019-02-09T08:17:51.678735+00:00 app[web.1]: npm ERR! Or if that isn't available, you can get their info via: 2019-02-09T08:17:51.678925+00:00 app[web.1]: npm ERR! npm owner ls home-skill-web 2019-02-09T08:17:51.679105+00:00 app[web.1]: npm ERR! There is likely additional logging output above. 2019-02-09T08:17:51.688195+00:00 app[web.1]: 2019-02-09T08:17:51.688457+00:00 app[web.1]: npm ERR! Please include the following file with any support request: 2019-02-09T08:17:51.688582+00:00 app[web.1]: npm ERR! /app/npm-debug.log

hardillb commented 5 years ago

I am not going to hand hold you through getting this to run. The only suggestion I will make us don't try and run this is horuku, or a similar environment until you fully understand it. Run it on your own local machine where you control everything.

The error message is pretty clear and should point you in the right direction.