question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CDK CLI can only be used with apps created by CDK >= 1.10.0

See original GitHub issue

Reproduction Steps

Only upgraded to CDK 1.10.0 and tried to run cdk diff command

Error Log

CDK CLI can only be used with apps created by CDK >= 1.10.0

Environment

  • CLI Version : 1.10.0 (build 19ae072)
  • Framework Version: 1.10.0 (build 19ae072)
  • OS: OSX Mojave
  • Language : python

This is 🐛 Bug Report

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
RomainMullercommented, Sep 30, 2019

A solution to this problem is to upgrade all of your CDK library dependencies to 1.10.0 or greater.

1reaction
nmussycommented, Oct 1, 2019

Maybe a better solution would be to use the locally installed CDK (npx cdk diff) instead of installing it globally? I’m not sure why this isn’t recommended in the README.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS CDK CLI can only be used with apps created by CDK error
I went to do a cdk ls or cdk diff and was greeted with the error: CDK CLI can only be used with...
Read more >
AWS CDK Toolkit (cdk command) - AWS Documentation
The AWS CDK Toolkit, the CLI command cdk , is the primary tool for interacting with your AWS CDK app. It executes your...
Read more >
How to check and secure CDK code with cdk-nag - Oblivion
The idea here is to create a basic S3 bucket, and let cdk-nag check the code by using the Aspect function in CDK....
Read more >
aws-cdk.core - PyPI
What roles are used to deploy the stack? These can be bootstrapped roles, roles created in some other way, or just the CLI's...
Read more >
aws-cdk - NPM Package Overview - Socket.dev
CDK Toolkit, the command line tool for CDK apps. ... the cdk command-line interface that can be used to work with AWS CDK...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found