NightTom
NightTom

Reputation: 486

ENOENT: nosuch file or directory, scandir C:\Users\user\App\node_modules whenever trying to run yarn start

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:

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

Answers (1)

hong developer
hong developer

Reputation: 13906

Create a new project and run it in the default order.

expo init yourproject => cd yourproject => expo start

Upvotes: 1

Related Questions