-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Unexpected token . - ...options?.modules #2131
Labels
Comments
Duplicate of #2117 |
1 task
Still facing same issue for docker node:14-alpine, Can someone help what need to be on Docker |
Upgrading my node version to current stable version fixed it for me. (my strapi version: 3.6.8)
|
I had the same issue and run |
Thank you very much @bhartendu27 @nguemechieu :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment:
usr/src/app/node_modules/redis/dist/index.js:42
...options?.modules
^
SyntaxError: Unexpected token .
at Module._compile (internal/modules/cjs/loader.js:760:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Module.require (internal/modules/cjs/loader.js:723:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object. (/usr/src/app/config/redis_connector.js:2:15)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
root@ee0301c9b03e:/usr/src/app# node --version
The text was updated successfully, but these errors were encountered: