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
We are seeing build errors in CDK programs since mid-afternoon when a new version of @types/prettier was released. The issue is being tracked on the CDK Github repo.
The text was updated successfully, but these errors were encountered:
A temporary fix is to add this line to devDependencies:
"@types/prettier": "2.6.0",
Then delete npm-modules and package-lock.json and run npm install
This should restore your ability to build. CDK has released new V1 and V2 versions pinned to 2.6.0 (Issue 20319). As we are several release numbers behind them in the V1 space, we will be releasing a new V1 release pinned to 2.6.0 for our V1 customers, or catching up with the CDK releases.
Pinning the @types/prettier version in the AWS Solutions Constructs package.json does not address the issue. If you are seeing this problem, the best course of action is to add this line to devDependencies in package.json:
@types/prettier: "2.6.0",
Then delete npm-modules and package-lock.json and run npm install.
Follow this issue for any updates to @types/prettier that fix the underlying issue.
We are seeing build errors in CDK programs since mid-afternoon when a new version of @types/prettier was released. The issue is being tracked on the CDK Github repo.
The text was updated successfully, but these errors were encountered: