We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Describe the bug
nodejs 13.0-13.6 has a bug. If any package has ESM support (exports key in package.json) nodejs catches an error
Error: No valid exports main found for '/node_modules/packageName'
webpack-cli has a dependency colorette. This dependency break a building because of it has an esm support (issue).
To Reproduce
I created an repository to reproduce this error https://github.com/ym-project/webpack-cli-bug. You should have nodejs 13.0-13.6 or use docker.
How to fix
Use dependency that doesn't have an esm support until nodejs version is deprecated. Or write about this problem in README file or somewhere.
Versions
nodejs: 13.0-13.6 webpack: 5.1.0 webpack-cli: 4.0.0
The text was updated successfully, but these errors were encountered:
Do not use node@13.0-13.6, because it is broken and it is not lts version
node@13.0-13.6
Sorry, something went wrong.
No branches or pull requests
Describe the bug
nodejs 13.0-13.6 has a bug. If any package has ESM support (exports key in package.json) nodejs catches an error
webpack-cli has a dependency colorette. This dependency break a building because of it has an esm support (issue).
To Reproduce
I created an repository to reproduce this error https://github.com/ym-project/webpack-cli-bug. You should have nodejs 13.0-13.6 or use docker.
How to fix
Use dependency that doesn't have an esm support until nodejs version is deprecated. Or write about this problem in README file or somewhere.
Versions
nodejs: 13.0-13.6
webpack: 5.1.0
webpack-cli: 4.0.0
The text was updated successfully, but these errors were encountered: