Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Unexpected token ? #325

Open
xinmans opened this issue Oct 8, 2022 · 4 comments
Open

SyntaxError: Unexpected token ? #325

xinmans opened this issue Oct 8, 2022 · 4 comments

Comments

@xinmans
Copy link

xinmans commented Oct 8, 2022

npm ERR! Failed at the [email protected] 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! /root/.npm/_logs/2022-10-08T14_23_20_881Z-debug.log

[email protected] start /usr/src/app
node index.js trade
/usr/src/app/node_modules/winston-telegram/lib/winston-telegram.js:46
this.handleExceptions = options.handleExceptions ?? true
^
SyntaxError: Unexpected token ?
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/usr/src/app/src/modules/services.js:46:31)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node index.js trade
npm ERR! Exit status 1

npm ERR! Failed at the [email protected] 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! /root/.npm/_logs/2022-10-08T14_25_57_582Z-debug.log

@mawenchao
Copy link

me too

@FredMichel
Copy link

Same for me.

@spikkie
Copy link

spikkie commented Dec 10, 2022

I also see this

@Stephvnieincs
Copy link

All the same

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

No branches or pull requests

5 participants