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 init --language python` fails when using cdk latest version 1.23.0

See original GitHub issue

❓ General Issue

When using cdk latest version 1.23.0 with python versions listed below, the command 「cdk init --language python 」fails and the following error is output. Invalid regular expression: /([\p{Lowercase_Letter}\d])(\p{Uppercase_Letter})/: Invalid escape Could you please check?

I used the environment cloud 9

The Question

Environment

  • CDK CLI Version: 1.23.0
  • Module Version: npm version 6.4.1
  • OS: Amazon Linux AMI 2018.03 (on Cloud 9 Service)
  • Language: python 3.6.8

Other information

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
fafriatcommented, Feb 12, 2020

I just solved it by upgrading Nodejs: sudo npm install -g n sudo n stable

Thank you!

0reactions
KarthickEmiscommented, Jun 4, 2020

for windows , uninstall node, and reinstall it. It will work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting common AWS CDK issues
This topic describes how to troubleshoot the following issues with the AWS CDK.
Read more >
aws-cdk.core - PyPI
If you don't specify the exact version, AWS CloudFormation uses the latest version of the parameter. SecretValue.cfnParameter(param) : refers to a secret passed ......
Read more >
How to upgrade CDK from CDKv1 to CDKv2 in an existing ...
On december 2nd AWS announced the general availability of upgrading CDK version 2. This blog describes how to upgrade to CDKv2.
Read more >
awslabs/aws-cdk - Gitter
... to cdk 1.23.0 when i execute cdk synth I am getting A newer version of the CDK CLI (>= 1.21.0) is necessary...
Read more >
aws-cdk | Yarn - Package Manager
The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through...
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