TechForPR / chefsForPR

Platform to manage the distribution of meals created by World Kitchen
http://chefs4pr.com
MIT License
3 stars 2 forks source link

npm start fails due to errors in RequestController.js #22

Closed jideokus closed 7 years ago

jideokus commented 7 years ago

The catch between 22-27 and 58 - 63 are causing it to fail.

dvidsilva commented 7 years ago

Are you using the last master? it seems to work for me, or what's the output you see

jideokus commented 7 years ago

Yeah I'm using the last master. This is what I get. I have a workaround to get it started for the time-being.

RequestController.js:26 )); ^

SyntaxError: Unexpected token ) at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:542:28) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (C:\Users\jideo\Documents\GitHub\chefsForPR\controllers\index.js:2:28) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17)

dvidsilva commented 7 years ago

Oh I see now what it is, can you upgrade node to 8? to use some more modern syntax

jideokus commented 7 years ago

Ah gotcha. Will do