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
Error: Webpack compilation error #2011
Comments
@sivadgit you can include your webpack configuration. |
Why are you trying to use it with webpack? |
|
facebook/create-react-app#9468 (comment) seems to have solved mine |
node v14 does not work with the latest version of node-redis. Please use node v12 or v16. |
optional chaining is part of webpack5 (see: webpack/webpack#10227 (comment)) |
i can't upgrade to webpack v5 with razzle |
Hi guys, I am facing the same problem, did you find a solution ? |
We are using Redis cache in our Node JS Typescript Lambda API. Also we using webpack to run or build the API. While running the API we get Webpack compilation error . Please find the details below
ERROR in ./node_modules/redis/dist/index.js
Module parse failed: Unexpected token (27:4)
You may need an appropriate loader to handle this file type.
| __exportStar(require("@node-redis/time-series"), exports);
Environment:
The text was updated successfully, but these errors were encountered: