Closed JasonHenriksen closed 2 years ago
node:
is supported on the Node.js version targets defined in package.json: https://github.com/sindresorhus/ora/blob/c5026b7b411765636ae08a8f4a15789617ba695e/package.json#L15-L17
Right you are. How weird. Because it turns out that it works when I run it from the CLI, but my jest test fails. Sorry that I trusted the test instead of also verifying with the CLI. I have no idea why they behave differently.
FAIL src/main.test.ts ● Test suite failed to run Cannot find module 'node:process'
I wasn't familiar with the new "node:process" syntax so it wasn't immediately clear to me that I had a node version problem.