Better jsii-pacmak
error when dependencies doesn't have an expected target platform
#3403
Open
1 of 5 tasks
Labels
bug
This issue is a bug.
language/dotnet
Related to .NET bindings (C#, F#, ...)
module/pacmak
Issues affecting the `jsii-pacmak` module
needs-reproduction
This issue needs reproduction.
p1
🐛 Bug Report
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)Go
General Information
Realted to awslabs/cdk-serverless-clamscan#355
When attempting to create a
.NET
package of my project with the following in the.jsii
usingnpx jsii-pacmak -v --target dotnet
I received the error in the
Cannot read property 'namespace' of undefined
. After some debugging I think the error is caused by one of thedependencies
not having adotnet
target.If this is the case there should be better error messages and property checking for targets on dependencies.
Verbose Log
The text was updated successfully, but these errors were encountered: