ENOENT: no such file or directory, lstat '/Users/manav/DoneWithIt/assets'

This error is irritating me from a long time, I dont know whats the problem. Error:

ENOENT: no such file or directory, lstat ‘/Users/manav/DoneWithIt/assets’

are you doing React? Did you get this error doing npm start? I did. Took hours to solve. I wrote a solution that worked for me on here some days ago. Had to npm uninstall -g create-react-app (as global installs no longer supported) then use npx create-react-app@latest mp-app. Using the @latest will force an update and this worked for me. There are other solutions on here for docker etc. Do a search.

1 Like

I am learning React Native and not React. Just wanted to get cleared with that. BTW thanks for replying :blush:. There was no problem in installing expo cli globally. Can there be any other reason for this issue???

ok. I am doing the Mastering React course and ran into the same error, when I tried running npm start. it failed to create public and src folders and the src folder contains script it cant find.
I saw one solution online referencing same error with react native: rm -fr $TMPDIR/react-* but I cant vouch for that. What command / action triggers this error, exactly? You might find a solution online by doing a more specific search like “npm start triggers ENOENT: no such file or directory”. Just a suggestion.

Will try it after sometime. Thank you for all your help :pray::pray::pray: