Skip to content

(aws-cdk): Receiving generic "Invalid URL" error when running cdk diff #33495

Description

@chrisdlim

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: [email protected]
Invalid URL

Exited with code exit status 1

Explicitly installing [email protected] 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 [email protected]
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

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.cliIssues related to the CDK CLIp1package/toolsRelated to AWS CDK Tools or CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions