I am creating a small project with vite and i keep getting this error when i try to run npx shadcn-ui@latest init
npm ERR! code ENOENT
npm ERR! syscall lstat
npm ERR! path C:\Users\user\AppData\Roaming\npm
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\user\AppData\Roaming\npm'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I appreciate any help as I'm relatively new to react and debugging is still an issue
You need to create new folder "C:\Users\user\AppData\Roaming\npm" and do
npx shadcn-ui@latest init
command again.