I am trying to run my app which apparently results running as I can see via dashboard but the log shows
a catastrofic error as though somethoing wrong was found in node_modules. During deployment I had the
following log where apparently the npm command could not be found on host. Can you clarify this issue?
Thanks, regards Vincenzo
remote: 4 files changed, 696 insertions(+), 432 deletions(-)
remote: create mode 100644 clientcloud.js
remote: delete mode 100644 index.js
remote: create mode 100644 server.js
remote: Updating npm modules...
remote: /data/app/vinloren/1969-0b63906a4bf22a51ec69c7b7b12bad51/home
remote: hooks/post-receive: line 37: npm: command not found
remote:
remote: ==== Compiling cloudtravel...
remote: ==== Restarting your app: cloudtravel
remote: ==== App restarted
remote: ==== App successfully deployed to http://cloudtravel.cloudno.de
remote:
remote: Finished.
remote:
To https://git.cloudno.de/git/vinloren/1969-0b63906a4bf22a51ec69c7b7b12bad51.git
72644d3..bff070a master -> master
Application Log
>>>
28 Nov 17:07:20 - Inside Node Virtual Machine
28 Nov 17:07:20 - Version: v5.0.0
28 Nov 17:07:20 - Owning user: node
28 Nov 17:07:20 - User ID: 1010
28 Nov 17:07:20 - Setting up sandbox..
28 Nov 17:07:20 - Munging require paths..
28 Nov 17:07:20 - Globalizing Buffer
28 Nov 17:07:20 - Reading startup file server.js...
28 Nov 17:07:20 - Final user check: 1010
28 Nov 17:07:20 - Node Virtual Machine started (17027) at Sat Nov 28 2015 17:07:20 GMT+0000 (UTC)
<<<
SyntaxError: Unexpected token ILLEGAL
at Object.exports.runInNewContext (vm.js:48:16)
at /root/node_modules/launchlib.js:266:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:404:3)
SyntaxError: Unexpected token ILLEGAL
at Object.exports.runInNewContext (vm.js:48:16)
at /root/node_modules/launchlib.js:266:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:404:3)[SyntaxError: Unexpected token ILLEGAL]