You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've currently setup a vanilla Parse Server / Express.js(Node) on my Dreamhost VPS with Node.js 5.5.0 and using Phusion Passenger.
When I run locally on my Mac with same environment (though i think i have newer Passenger installed though i don't know how it would be affected by this issue) I get this error and it doesn't happen to me locally.
/home/USERNAME/DOMAIN/public/node_modules/parse-server/index.js:153 request(options, (error, response, body) => { ^^ SyntaxError: Unexpected token => at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/home/USERNAME/DOMAIN/public/app.js:2:19) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10)
The text was updated successfully, but these errors were encountered:
Yes that was my first thoughts as maybe it was running a different node version. I setup nvm set it to use 5.5.0. Do you think it's using the system version when I'm not ssh'ed into the box?
I've currently setup a vanilla Parse Server / Express.js(Node) on my Dreamhost VPS with Node.js 5.5.0 and using Phusion Passenger.
When I run locally on my Mac with same environment (though i think i have newer Passenger installed though i don't know how it would be affected by this issue) I get this error and it doesn't happen to me locally.
/home/USERNAME/DOMAIN/public/node_modules/parse-server/index.js:153 request(options, (error, response, body) => { ^^ SyntaxError: Unexpected token => at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/home/USERNAME/DOMAIN/public/app.js:2:19) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10)
The text was updated successfully, but these errors were encountered: