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
Platform: Linux ip-172-31-23-62 4.14.173-106.229.amzn1.x86_64 Consider adding support for Set<T> #1 SMP Wed Apr 1 19:40:12 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
What is the problem?
running npx tsc works correctly and. generates the expected files, but running npx jsii or npm run build (which references jsii) fails.
my index.ts file:
Non-jsii-enabled modules must be bundled (bundleDependencies). This error message isn't quite ideal, let me prepare a PR to actually improve this a bit.
Instead of outputting a very terse 'Unable to locate module', which misleads users into believing
the module cannot be resolved by the compiler, use a longer error message that clearly states the
jsii Assembly could not be located, and that non-jsii dependencies must be bundled.
Fixes#1636
#1651)
Instead of outputting a very terse 'Unable to locate module', which misleads users into believing
the module cannot be resolved by the compiler, use a longer error message that clearly states the
jsii Assembly could not be located, and that non-jsii dependencies must be bundled.
Fixes#1636
🐛 Bug Report
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)General Information
What is the problem?
running
npx tsc
works correctly and. generates the expected files, but runningnpx jsii
ornpm run build
(which referencesjsii
) fails.my
index.ts
file:Verbose Log
My node_module:
My
package.json
:Edit
I tried again with the latest
1.5.0
release and the error is still happening.package.json
index.ts
--verbose
jsii outputThe text was updated successfully, but these errors were encountered: