Skip to content
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

No longer compatible with Node < 14.16 since v3.x, update engines.node #56

Open
webketje opened this issue Feb 10, 2024 · 1 comment
Open

Comments

@webketje
Copy link

Since the use of the node: import prefix at https://github.com/tapjs/foreground-child/blob/v3.0.0/src/all-signals.ts#L1 this library has become incompatible with Node.js < 16. Found this through using c8 in a failed automated test run at https://github.com/metalsmith/metalsmith/actions/runs/7854693798/job/21435716699.

Error: Cannot find module 'node:constants'

Even though npm view c8@latest engines.node returns >=14.14.0
Please revert to importing from constants OR update engines.node to >=16

@webketje webketje changed the title No longer compatible with Node < 16 since v3.x, update engines.node or revert node: import No longer compatible with Node < 14.16 since v3.x, update engines.node Feb 21, 2024
@webketje
Copy link
Author

Please update engines.node to >=14.18.0, see linked issue for analysis

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant