npm ERR! code ENOTEMPTY
Unanswered
Daniele Manca posted this in #help-forum
I am trying to install Next's latest version inside of an existing folder, with the following command: npx create-next-app@latest ./
Unfortunately, for some reason I am absolutely unware of, I am unable to, I get the following error messages on my terminal:
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /Users/dmanca/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app
npm ERR! dest /Users/dmanca/.npm/_npx/cc2145a2fe1558fa/node_modules/.create-next-app-GAACda7M
npm ERR! errno -66
npm ERR! ENOTEMPTY: directory not empty, rename '/Users/dmanca/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app' -> '/Users/dmanca/.npm/_npx/cc2145a2fe1558fa/node_modules/.create-next-app-GAACda7M'
npm ERR! A complete log of this run can be found in: /Users/dmanca/.npm/_logs/2023-12-21T14_40_06_706Z-debug-0.log
Does anyone know what the issue could be?
Unfortunately, for some reason I am absolutely unware of, I am unable to, I get the following error messages on my terminal:
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /Users/dmanca/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app
npm ERR! dest /Users/dmanca/.npm/_npx/cc2145a2fe1558fa/node_modules/.create-next-app-GAACda7M
npm ERR! errno -66
npm ERR! ENOTEMPTY: directory not empty, rename '/Users/dmanca/.npm/_npx/cc2145a2fe1558fa/node_modules/create-next-app' -> '/Users/dmanca/.npm/_npx/cc2145a2fe1558fa/node_modules/.create-next-app-GAACda7M'
npm ERR! A complete log of this run can be found in: /Users/dmanca/.npm/_logs/2023-12-21T14_40_06_706Z-debug-0.log
Does anyone know what the issue could be?