projen: projen fails when creating new projects
I try to create a new AWS CDK project with projen new awscdk-app-ts
. This works but projen fails afterwards with this error every time I run it:
$ projen
👾 default | node .projenrc.js
/home/username/myproject/.projenrc.js:2
const project = new AwsCdkTypeScriptApp({
^
TypeError: AwsCdkTypeScriptApp is not a constructor
at Object.<anonymous> (/home/username/myproject/.projenrc.js:2:17)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47
👾 Synthesis failed: Task "default" failed when executing "node .projenrc.js" (cwd: /home/username/myproject)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (10 by maintainers)
Our release notes are marked with breaking changes (https://github.com/projen/projen/releases/tag/v0.37.0) and there is a detailed list in the associated pull request description: https://github.com/projen/projen/pull/1286
@Chriscbr I am surprised that not all the breaking changes appear in the release notes. Worth checking…
Closing this issue now.