-
Notifications
You must be signed in to change notification settings - Fork 34
Description
mobx-demo@1.0.0 start /Users/andy/Desktop/react-build-tutorial/step7
node ./server/server.js
/Users/andy/Desktop/react-build-tutorial/step7/server/server.js:37
router.get('*', async (ctx, next) => {
^
SyntaxError: Unexpected token (
at Object.exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:418:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:533:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mobx-demo@1.0.0 start: node ./server/server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mobx-demo@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/andy/.npm/_logs/2017-08-22T14_42_32_891Z-debug.log