You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm upgrading my app to the newer version (2.x.x) of the CDK but cdk-local can't seem to deploy properly. My app, however, deploys properly in aws.
My latest package json looks like:
When running npm run cdklocal:deploy -- ${params} or even just npm run cdklocal -- --version, I'm getting:
Error: Cannot find module 'aws-cdk/lib/api/aws-auth'
Require stack:
- /Users/anais/dev/graphql/node_modules/aws-cdk-local/bin/cdklocal
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at patchPre_2_14 (/Users/anais/dev/graphql/node_modules/aws-cdk-local/bin/cdklocal:311:20)
at Object.<anonymous> (/Users/anais/dev/graphql/node_modules/aws-cdk-local/bin/cdklocal:331:3)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/anais/dev/graphql/node_modules/aws-cdk-local/bin/cdklocal'
]
}
I've removed node_modules countless times, uninstall/reinstalled with different versions (for instance, aws-cdk-lib 2.15.0 and aws-cdk-local 2.15.0 per this closed issue) but I can't seem to find 2 versions that fit together.
I'm seeing aws-cdk and not aws-cdk-lib everywhere in the doc. Does this mean that this can't run with the offical aws-cdk-lib ? If not, what version combination should work?
Thanks in advance,
The text was updated successfully, but these errors were encountered:
I'm upgrading my app to the newer version (2.x.x) of the CDK but cdk-local can't seem to deploy properly. My app, however, deploys properly in aws.
My latest package json looks like:
When running
npm run cdklocal:deploy -- ${params}
or even justnpm run cdklocal -- --version
, I'm getting:I've removed node_modules countless times, uninstall/reinstalled with different versions (for instance, aws-cdk-lib 2.15.0 and aws-cdk-local 2.15.0 per this closed issue) but I can't seem to find 2 versions that fit together.
I'm seeing
aws-cdk
and notaws-cdk-lib
everywhere in the doc. Does this mean that this can't run with the officalaws-cdk-lib
? If not, what version combination should work?Thanks in advance,
The text was updated successfully, but these errors were encountered: