Thursday, October 5, 2023
HomeApple Newsset up - `ENOENT: no such file or listing` error when putting...

set up – `ENOENT: no such file or listing` error when putting in ReactJS in M1 Mac

Advertisement
Advertisement


I attempted to put in ReactJS on an M1 Mac however encountered this error:

prabhav@Prabhavs-MacBook-Air ~ % node --version
v18.17.1
prabhav@Prabhavs-MacBook-Air ~ % npm --version
9.6.7
prabhav@Prabhavs-MacBook-Air ~ % npm set up -g create-react-app
npm ERR! code ENOENT
npm ERR! syscall mkdir
npm ERR! path /path
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or listing, mkdir '/path'
npm ERR! enoent That is associated to npm not having the ability to discover a file.
npm ERR! enoent 
    
npm ERR! Log recordsdata weren't written resulting from an error writing to the listing: /path/to/your/listing/_logs
npm ERR! You possibly can rerun the command with `--loglevel=verbose` to see the logs in your terminal

Path of node and npm: /usr/native/bin

path added to .zshrs : export PATH="$PATH:/usr/native/bin"

Advertisement
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments