An unexpected error occurred: "EACCES: permission denied, mkdir code example Example: Error: EACCES: permission denied, mkdir add sudo , example sudo npm i nodemon -g