biztechcs
Coder
I am trying to install next.jsand the initial setup itself fails
Things I have done:
I have reinstalled Node.js and Gitbash terminal on windows
I have installed npm and yarn
I have tried to ensure all paths are located through windows environmental variables(using edit and new)
I have disabled antivirus
I have done permission checking as administrator
I have also reviewed the logs to try to understand. All paths and configurations seems okay at my end and commands should be working, however I seem to get this error happening, not only in this scenario but multiple scenarios.
Things I have done:
I have reinstalled Node.js and Gitbash terminal on windows
I have installed npm and yarn
I have tried to ensure all paths are located through windows environmental variables(using edit and new)
I have disabled antivirus
I have done permission checking as administrator
I have also reviewed the logs to try to understand. All paths and configurations seems okay at my end and commands should be working, however I seem to get this error happening, not only in this scenario but multiple scenarios.
Code:
peema@DESKTOP-6UGCO8V MINGW64 ~/Documents/blockchaincenter
$ npx create-next-app@latest
npm ERR! code ENOENT npm ERR! syscall spawn C:\Users\peema\AppData npm ERR!
path C:\Users\peema\Documents\blockchaincenter npm ERR! errno -4058 npm ERR!
enoent spawn C:\Users\peema\AppData ENOENT npm ERR! enoent
This is related to npm not being able to find a file. npm ERR!
enoent npm ERR! A complete log of this run can be found in: C:\Users\peema\AppData\Local\npm-cache\_ logs\2023-07-08T10_27_19_028Z-debug-0.log