Open webketje opened 5 months ago
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.
node:
c8
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
npm view c8@latest engines.node
>=14.14.0
constants
engines.node
>=16
Please update engines.node to >=14.18.0, see linked issue for analysis
>=14.18.0
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 usingc8
in a failed automated test run at https://github.com/metalsmith/metalsmith/actions/runs/7854693798/job/21435716699.Even though
npm view c8@latest engines.node
returns>=14.14.0
Please revert to importing fromconstants
OR updateengines.node
to>=16