dotMastaz
dotMastaz

Reputation: 150

React Native, react-native init AwesomeProject, react-native run-ios : Error

Try to install the Testing Application and got an error : $ react-native init AwesomeProject and : $ react-native run-ios Erreur : Error: ENOENT: no such file or directory, uv_chdir

Thanks for your help !!

Upvotes: 2

Views: 2550

Answers (2)

MartianMartian
MartianMartian

Reputation: 1859

ok, maybe try this:

react-native upgrade 
react-native run-ios

according to https://github.com/facebook/react-native/issues/11293 the last comment, this would fix it but it's generally a buggy platform

Upvotes: 2

Ross Shannon
Ross Shannon

Reputation: 557

Seems to be a cache issue with NPM. I cleared it up here by deleting my node_modules directory, and then following the steps here: https://github.com/facebook/react-native/issues/5054#issuecomment-222624983

$ rm -rf node_modules

$ rm -fr $TMPDIR/react-*

$ watchman watch-del-all

Upvotes: 1

Related Questions