Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Unexpected token in agenda #120

Open
AllMarketing-Victor opened this issue Sep 18, 2018 · 4 comments
Open

Unexpected token in agenda #120

AllMarketing-Victor opened this issue Sep 18, 2018 · 4 comments

Comments

@AllMarketing-Victor
Copy link

AllMarketing-Victor commented Sep 18, 2018

Need help )

web_1 | /usr/src/app/node_modules/agenda/lib/job/run.js:15
web_1 | return new Promise(async(resolve, reject) => {
web_1 | ^
web_1 |
web_1 | SyntaxError: Unexpected token (
web_1 | at createScript (vm.js:56:10)
web_1 | at Object.runInThisContext (vm.js:97:10)
web_1 | at Module._compile (module.js:542:28)
web_1 | at Object.Module._extensions..js (module.js:579:10)
web_1 | at Module.load (module.js:487:32)
web_1 | at tryModuleLoad (module.js:446:12)
web_1 | at Function.Module._load (module.js:438:3)
web_1 | at Module.require (module.js:497:17)
web_1 | at require (internal/module.js:20:19)
web_1 | at Object. (/usr/src/app/node_modules/agenda/lib/job/index.js:65:21)
web_1 | at Module._compile (module.js:570:32)
web_1 | at Object.Module._extensions..js (module.js:579:10)
web_1 | at Module.load (module.js:487:32)
web_1 | at tryModuleLoad (module.js:446:12)
web_1 | at Function.Module._load (module.js:438:3)
web_1 | at Module.require (module.js:497:17)
web_1 | [nodemon] app crashed - waiting for file changes before starting...

@AllMarketing-Victor
Copy link
Author

node -v v8.12.0
npm -v 6.4.1

@luke-hawk
Copy link

luke-hawk commented Sep 18, 2018

I'm facing the same issue

@gruf23
Copy link

gruf23 commented Sep 23, 2018

+1

1 similar comment
@danaia
Copy link

danaia commented Sep 24, 2018

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants