Please remove both the "node_modules" directory and the package lock file; and then reinstall. code example Example: remove node modules command rm -rf node_modules/ npm install