error: Cannot resolve module "file:/// code example Example: Error: Cannot find module 'resolve' $ rm -rf node_modules package-lock.json $ npm i