-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dotnet support #355
Comments
I was able to replicate the error. This package has a dependency on cdk-nag. Looking at the "cdk-nag": {
...
"targets": {
"js": {
"npm": "cdk-nag"
},
"python": {
"distName": "cdk-nag",
"module": "cdk_nag"
}
}
} I think the packaging mechanism is expecting a |
@robert-lilleker |
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. |
Keep |
Hi, I wanted to be able to integrate this with my CDK stack however I can't seem to get projen to generate a C# package. I've added to the
.projenrc.js
as seen on my fork https://github.com/awslabs/cdk-serverless-clamscan/compare/main...robert-lilleker:dotnet-support?expand=1 however I get the following message:[jsii-pacmak] [WARN] Exception occurred, not cleaning up [jsii-pacmak] [WARN] dotnet failed TypeError: Cannot read properties of undefined (reading 'namespace') at DotNetTypeResolver.resolveNamespacesDependencies (/home/ec2-user/environment/forks/cdk-serverless-clamscan/node_modules/jsii-pacmak/lib/targets/dotnet/dotnettyperesolver.js:71:46) at DotNetGenerator.generate (/home/ec2-user/environment/forks/cdk-serverless-clamscan/node_modules/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.js:43:27) at Dotnet.generateCode (/home/ec2-user/environment/forks/cdk-serverless-clamscan/node_modules/jsii-pacmak/lib/target.js:29:28) at async DotnetBuilder.generateModuleCode (/home/ec2-user/environment/forks/cdk-serverless-clamscan/node_modules/jsii-pacmak/lib/targets/dotnet.js:94:9) at async /home/ec2-user/environment/forks/cdk-serverless-clamscan/node_modules/jsii-pacmak/lib/targets/dotnet.js:62:30 at async Function.make (/home/ec2-user/environment/forks/cdk-serverless-clamscan/node_modules/jsii-pacmak/lib/util.js:227:36) at async DotnetBuilder.buildModules (/home/ec2-user/environment/forks/cdk-serverless-clamscan/node_modules/jsii-pacmak/lib/targets/dotnet.js:35:35) at async Promise.all (index 0) at async Object.pacmak (/home/ec2-user/environment/forks/cdk-serverless-clamscan/node_modules/jsii-pacmak/lib/index.js:61:9) 👾 Task "release » build » package" failed when executing "jsii-pacmak" (cwd: /home/ec2-user/environment/forks/cdk-serverless-clamscan) error Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: