-
Notifications
You must be signed in to change notification settings - Fork 12
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 '?' #22
Comments
Hm, locally I was running node 14 where in Docker I had node 12. After changing to node14 in docker file it's working. |
@pmb0 I'm having this issue too (running locally. node version v14.16.0. nest version v7.6.7). |
Hi @nllahat , the Nullish coalescing operator (??) needs Node.js ^14.0.0. are you sure you use v14? |
However, it was not my intention that this only runs with new / recent Node.js versions. I will adjust the ts transpiler settings. |
@pmb0 sorry. my mistake. I ran it with node 13.4. |
## [1.4.1](v1.4.0...v1.4.1) (2021-05-15) ### Bug Fixes * use "ES2019" as output target ([#22](#22)) ([617b147](617b147))
Olá, estou com o mesmo problema.
|
Hi, when I'm running it directly in my pc via npm run start it's working but when I't trying to run it in docker I'm getting below error.
I'm not sure where it's coming from. Do you have any idea what might be the reason?
My dependencies
The text was updated successfully, but these errors were encountered: