-
Notifications
You must be signed in to change notification settings - Fork 72
package.json broken since esm #25
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Should be fixed in v4.1.5 Also feel free to check out node-osc@beta if you want to try the entirely ESM version of the package (with legacy CJS support). Dev work is in the next branch |
Just updated my node + npm to latest versions to see if being outdated was what occasionally crashing nodejs while using osc – but now I can't activate my script... getting this strange error (using node-osc v4.1.5):
Is this issue related to the same above? Having just updated to Node v13.8.0 + NPM v6.13.7. Worked fine previous with Node v12.1.0 + NPM v6.9.0... |
@ffd8 found the fix, exports for some reason is failing if you don't include Either way the fix was simple enough and I've published 4.1.6 which fixes the problem. Re-installing node modules in P5LIVE should fix this. |
@MylesBorins thanks for the super quick fix! P5LIVE booted up just fine now. I thought it was osc-crash-free, but just experienced the same issue I've had before, so I'll put it as a new issue, #26 , since his one is solved. |
Hi,
adding esm export to package.json broke it:
it's forbidden to mix '.' starting entry with others that not starts with '.'
see https://nodejs.org/api/esm.html#esm_exports_sugar
Best
The text was updated successfully, but these errors were encountered: