Error: EACCES: permission denied, mkdir creating directory by nodejs code example Example: Error: EACCES: permission denied, mkdir add sudo , example sudo npm i nodemon -g