Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

React-native - ios - Enoent - No such file or directory found

$
0
0

I'm building an app in react-native for ios. When attempting to build, xcode reports no errors and the simulator starts up. The app begins to load and I get a red error screen with the following info in the log:

2017-03-20 19:22:40.523325 [APPNAME][69099:5420843] [] nw_host_stats_add_src recv too small, received 24, expected 28 2017-03-20 19:22:40.541 [fatal][tid:main] TransformError: /Users/[NAME]/[COMPANY]/dev/[APPNAME]/node_modules/react-native-scrollable-tab-view/index.js: ENOENT: no such file or directory, open '/Users/[NAME]/[COMPANY]/dev/[APPNAME]/node_modules/react-native-scrollable-tab-view/package.json' 2017-03-20 19:22:40.549905 [APPNAME][69099:5420846] [] nw_host_stats_add_src recv too small, received 24, expected 28

Have tried the following to fix:

rm -rf node_modules
rm -fr $TMPDIR/react-*
rm -fr $TMPDIR/npm*
watchman watch-del-all
rm -rf * (in /users/name/developer/xcode/deriveddata/
npm install
react-native upgrade

Also re-install react-native, react-native-cli

Also updated node to newest version

Also reinstalled xcode


Viewing all articles
Browse latest Browse all 16750

Trending Articles