Using Node 18.0.0 results in this error after upgrading from 9.x to 10.x.
import fs, {constants as fsConstants} from 'node:fs/promises';
^^^^^^^^^
SyntaxError: The requested module 'node:fs/promises' does not provide an export named 'constants'
It's an error until you use >= v18.4.0
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too