Reputation: 486
When trying to run a react-native
project with expo
I get the following error:
ENOENT: nosuch file or directory, scandir 'C:\Users\user\app\node_modules'
I've tried:
node_modules
from the app directory.npm install
in app directorynpm
globally and reinstallingyarn
and reinstallingyarn
and npm
I expect the react-native
project to work like it does on my other computer. I built the expo
react-native
app using init expo
and now ANY project I try to start comes up with this weird error.
Any ideas on what to else try? Any help would be greatly appreciated!
Upvotes: 0
Views: 664
Reputation: 13906
Create a new project and run it in the default order.
expo init yourproject => cd yourproject => expo start
Upvotes: 1