-
Notifications
You must be signed in to change notification settings - Fork 33
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
CommonJS issue #69
Comments
Same issue here! 🙃 |
Same here. Currently is not possible to use it with typescript or nestjs |
I see something was attempted last year to fix this, but as this is still happening any idea when it might be addressed? Is this project still active? |
Just ran into this as well. Unable to use this in our environment :( |
I use old version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As I understand
lightship
library is distributed ases
andcommonjs
module:However it has dependency
serialize-error
^11.0.0 which from v9 has breaking change and ispure es module
: https://github.com/sindresorhus/serialize-error/releases/tag/v9.0.0So looks like now
lightship
does not supportcommonjs
?UPDATE: In my project I get error:
I can run newest version of
lightship
only with some hacks. In my projectpackage.json
I added (then npm overrides version of lib):Additionally I had to make manual edit in installed
lightship
...\node_modules\lightship\package.json
to remove line:But this workaround is not acceptable in prod environment :)
UPDATE2: seems that my issue is duplicate of #67
But I think I have provided valuable information where the root cause is.
The text was updated successfully, but these errors were encountered: