-
Notifications
You must be signed in to change notification settings - Fork 4
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
pkg.js
fails to include tslib
dependency
#387
Labels
development
Standard development
Comments
You've fixed this by adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Specification
pkg
is failing to properly include thetslib
dependency. This is needed byasync-locks
andcheerio
as a dependency.The problem seems to be that
pkg
is adding thetslib
files to the queue during the walker phase but only as the bytecode. during the packing phase when it attempts to add the required files it skips them due to our use of the--no-bytecode
flag. Thus throwing the following error.We suspect this may be due to pkg not properly parsing es6 modules. Discussion about this can be found starting from here
Currently a stopgap fix is to force include
tslib
by adding the files as an asset to the pkg config inpackage.json
.Additional context
Tasks
The text was updated successfully, but these errors were encountered: