permission denied access '/usr/lib/node_modules' code example Example: Error: EACCES: permission denied, access '/usr/local/lib/node_modules' sudo npm install -g nodemon //easiest fix