Closed TheFlexican closed 4 months ago
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Think something is wrong on my end, need to sort that out.
Describe the bug
This code generates: error JSII9997: Unknown error: Cannot read properties of undefined (reading 'getJsDocTags') -- TypeError: Cannot read properties of undefined (reading 'getJsDocTags')
I've created a projen project for aws cdk constructs, and this IAspect is part of my S3 construct, when I run npx projen build, the error is generated
Expected Behavior
successful run.
Current Behavior
error JSII9997: Unknown error: Cannot read properties of undefined (reading 'getJsDocTags') -- TypeError: Cannot read properties of undefined (reading 'getJsDocTags') at _hasInternalJsDocTag (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/assembler.js:1863:19) at Assembler._isPrivateOrInternal (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/assembler.js:1108:37) at Assembler._visitClass (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/assembler.js:868:33) at Assembler._visitNode (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/assembler.js:664:29) at Assembler.emit (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/assembler.js:130:26) at Compiler.consumeProgram (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/compiler.js:178:40) at Compiler.buildOnce (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/compiler.js:160:21) at Compiler.emit (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/compiler.js:55:21) at Object.handler (/home/test/Projects/constructs/node_modules/.pnpm/jsii@5.4.26/node_modules/jsii/lib/main.js:146:75) at /home/test/Projects/constructs/node_modules/.pnpm/yargs@17.7.2/node_modules/yargs/build/index.cjs:1:8993
Reproduction Steps
Import this into any cdk project and run jsii on the project
Possible Solution
No response
Additional Information/Context
cdkVersion: '2.149.0' siiVersion: '~5.4.0'
SDK version used
2.149.0
Environment details (OS name and version, etc.)
Ubuntu running on WSL