-
Notifications
You must be signed in to change notification settings - Fork 246
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
chore: improve error message when a non-jsii dependency is not bundled #1651
chore: improve error message when a non-jsii dependency is not bundled #1651
Conversation
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
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it! |
Merging (with squash)... |
Commit Message
chore: improve error message when a non-jsii dependency is not bundled (#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
End Commit Message
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.