Error: Cannot find module ‘node:process’ after Rollup upgrade

As silly as it gets, the solution is to upgrade your NodeJS version.

> rollup -c -w

  throw err;

Error: Cannot find module 'node:process'
Require stack:
- ...

My current version was 14.17.1, but after I upgraded to 14.21.1 the error was gone.

Did you know that I made an in-browser image converter, where you can convert your images without uploading them anywhere? Try it out and let me know what you think. It's free.

Leave a Comment

Your email address will not be published. Required fields are marked *