aws-cdk: (aws-cdk): Receiving generic "Invalid URL" error when running `cdk diff`
Describe the bug
We have our app deployed via CircleCI and we received the following error when attempting to run a cdk diff:
npm WARN exec The following package was not found and will be installed: cdk@2.1000.0
Invalid URL
Exited with code exit status 1
Explicitly installing cdk@2.151.0 fixed the issue. Are there dependency mismatches when using 2.1000.0?
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
2.179.0
Expected Behavior
To not receive an error about “Invalid URL”. Using the --verbose flag also does not provide any additional debug logs.
Current Behavior
Received a generic “Invalid URL” error
Reproduction Steps
yarn add cdk@2.1000.0
npx cdk diff
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.1000.0
Framework Version
No response
Node.js Version
18.15.0
OS
Linux
Language
TypeScript
Language Version
No response
Other information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 18 (10 by maintainers)
Probable fix is merged, running a release now
Getting the same
Invalid URLerror from runningnpx cdk deploy. Does this relate to the invalid GH link github.com/aws/aws-cdk-cli on the NPM page? Mynpx cdk deploycommand seems to try to pull the package from there.