-
Notifications
You must be signed in to change notification settings - Fork 3.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
cloud-assembly-schema: incompatible version of Node.js #31237
Labels
@aws-cdk/cloud-assembly-schema
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Comments
sakurai-ryo
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Aug 28, 2024
ashishdhingra
added
p2
needs-reproduction
This issue needs reproduction.
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Aug 28, 2024
Reproducible. Tested on OSX:
Output:
|
ashishdhingra
added
effort/small
Small work item – less than a day of effort
and removed
needs-reproduction
This issue needs reproduction.
labels
Aug 29, 2024
This was referenced Sep 1, 2024
@ashishdhingra |
This issue was fixed. cdklabs/cloud-assembly-schema#59 |
Comments on closed issues and PRs are hard for our team to see. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
@aws-cdk/cloud-assembly-schema
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
Hi Team,
After this PR was merged, the
aws-cdk-lib
now uses the cloud-assembly-schema that was externally published.#31064
Previously,
>= 14.15.0
was specified inengines
in package.json, but now>= 18.18.0
is specified and the compatible version was updated.Before:
aws-cdk/packages/@aws-cdk/cloud-assembly-schema/package.json
Line 108 in 5f30aa5
Now:
https://github.com/cdklabs/cloud-assembly-schema/blob/7468c327aa0b0ef46c4b971ac36278ef57fb2b8b/package.json#L81
This may cause errors when installing or updating
aws-cdk-lib
if you are using a version of Node.js lower than 18.18.0.You can ignore Node.js version compatibility with the
--ignore-engines
option in yarn, but this is a something to avoid if at all possible.Regression Issue
Last Known Working CDK Version
v2.154.1
Expected Behavior
The installation and upgrade of aws-cdk-lib should work without errors or warnings.
Current Behavior
In the case of yarn, you will get the following error.
error @aws-cdk/[email protected]: The engine "node" is incompatible with this module. Expected version ">= 18.18.0". Got "18.17.0"
Reproduction Steps
Using a version of Node.js lower than 18.18.0, execute the following command.
Possible Solution
If there is no obvious reason to require a version higher than 18.18.0, specify
>= 14.15.0
for engins, as with aws-cdk-lib.Additional Information/Context
No response
CDK CLI Version
v2.154.1
Framework Version
v2.154.1
Node.js Version
18.17.0
OS
macos
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: