-
Notifications
You must be signed in to change notification settings - Fork 4k
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
‼️ NOTICE: cannot install aws-cdk
with Node v13.0.0 - v13.6.0 - Error: No valid exports main found - UUID import fails in 1.37.0
#7816
Comments
My node is v12.14.1 and npm is 6.13.4 than i do not have this issue. By the way, my teammate has node v13.5.0 and npm 6.13.4 and he has similar issue with you. I think it is related with node version. Can you downgrade it while resolving this issue? |
When i upgrade my node version to v13.5.0 i got same error |
aws-cdk uses uuid library. The library has an resolved GitHub issue. The solution is updating node version from v13.x.x to latest v13 which is v13.14.0. When i updated to that version my node, i resolved this issue: |
Upgrading to Node 14.2.0 solved the problem for me |
Thanks @spg ! |
aws-cdk
with Node 13.x - Error: No valid exports main found - UUID import fails in 1.37.0
aws-cdk
with Node 13.x - Error: No valid exports main found - UUID import fails in 1.37.0aws-cdk
with Node v13.0.0 - v13.6.0 - Error: No valid exports main found - UUID import fails in 1.37.0
Affected versions Node13 is in Maintenance LTS and will be hitting EOL on 2020-06-01 |
This is a follow-up to the recent issue we had where `uuid` had bumped up versions and that included changes that affected earlier version of node `13.x`. Several of our dependencies do not support odd numbered releases. Rather than be restrictive, only including the affected versions for now. Made some slight modifications to the `README` and `CONTRIBUTING` to plug a recommendation to use LTS versions of Node. Closes #7816
This is a follow-up to the recent issue we had where `uuid` had bumped up versions and that included changes that affected earlier version of node `13.x`. Several of our dependencies do not support odd numbered releases. Rather than be restrictive, only including the affected versions for now. Made some slight modifications to the `README` and `CONTRIBUTING` to plug a recommendation to use LTS versions of Node. Closes aws#7816
Hello.
After upgrading to 1.37.0, I ran into an error:
Reproduction Steps
Environment
Other
From looking around, I think this is tied to the upgrade of uuid to v 8.0.0
but v8.0 of uuid has a breaking change where the generic
uuid
module is not exported anymore, yet, it is still used in CDK, at least hereThank you.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: