codyseibert / tab-tracker

A Vue.js / Express.js web application for keeping track of guitar tabs
MIT License
522 stars 197 forks source link

I'm getting the error. #1

Open xploregopi opened 7 years ago

xploregopi commented 7 years ago

/var/www/html/tab_tracker/server$ npm start

server@1.0.0 start /var/www/html/tab_tracker/server ./node_modules/nodemon/bin/nodemon.js src/app.js --exec 'npm run lint && node'

[nodemon] 1.11.0 [nodemon] to restart at any time, enter rs [nodemon] watching: . [nodemon] starting npm run lint && node src/app.js

server@1.0.0 lint /var/www/html/tab_tracker/server true || ./node_modules/.bin/eslint */.js

/var/www/html/tab_tracker/server/src/passport.js:13 }, async function (jwtPayload, done) { ^^^^^

SyntaxError: missing ) after argument list 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. (/var/www/html/tab_tracker/server/src/app.js:13:1) 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.runMain (module.js:604:10) at run (bootstrap_node.js:389:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:502:3 [nodemon] app crashed - waiting for file changes before starting...

codyseibert commented 7 years ago

What version of node are you using? You should at least be at version 8.2.1. Later versions of node don't support async / await.

xploregopi commented 7 years ago

Node => v6.11.3.

Alaev commented 7 years ago

try to update to node 8+