F8app: cannot find entry file index.ios.js in any of the roots

Created on 29 Oct 2016  路  16Comments  路  Source: fbsamples/f8app

Help!!!

image

Most helpful comment

run this commandnpm start -- --reset-cache

All 16 comments

There is an answer for this problem in stackoverflow
I think we can close this issue

Facing the same issue

simulator screen shot 09-jun-2017 2 39 59 pm

React packager ready.

Loading dependency graph, done.
error: bundling: Error
at DependencyGraph._getAbsolutePath (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/node-haste/DependencyGraph.js:280:11)
at DependencyGraph.getDependencies (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/node-haste/DependencyGraph.js:218:26)
at Resolver.getDependencies (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Resolver/index.js:107:27)
at /Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:591:37
at Generator.next ()
at step (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:12:445)
at /Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:12:605
at
at process._tickCallback (internal/process/next_tick.js:169:7)
Bundling index.ios.js 0.0% (0/1), failed.
error: bundling: Error
at DependencyGraph._getAbsolutePath (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/node-haste/DependencyGraph.js:280:11)
at DependencyGraph.getDependencies (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/node-haste/DependencyGraph.js:218:26)
at Resolver.getDependencies (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Resolver/index.js:107:27)
at /Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:591:37
at Generator.next ()
at step (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:12:445)
at /Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:12:605
at
at process._tickCallback (internal/process/next_tick.js:169:7)
Bundling index.ios.js 0.0% (0/1), failed.
error: bundling: Error
at DependencyGraph._getAbsolutePath (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/node-haste/DependencyGraph.js:280:11)
at DependencyGraph.getDependencies (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/node-haste/DependencyGraph.js:218:26)
at Resolver.getDependencies (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Resolver/index.js:107:27)
at /Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:591:37
at Generator.next ()
at step (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:12:445)
at /Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:12:605
at
at process._tickCallback (internal/process/next_tick.js:169:7)
Bundling index.ios.js 0.0% (0/1), failed.
error: bundling: Error
at DependencyGraph._getAbsolutePath (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/node-haste/DependencyGraph.js:280:11)
at DependencyGraph.getDependencies (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/node-haste/DependencyGraph.js:218:26)
at Resolver.getDependencies (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Resolver/index.js:107:27)
at /Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:591:37
at Generator.next ()
at step (/Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:12:445)
at /Users/pawan.sharma/React_Native/FirstNavaigation/node_modules/react-native/packager/src/Bundler/index.js:12:605
at
at process._tickCallback (internal/process/next_tick.js:169:7)
Bundling index.ios.js 0.0% (0/1), failed.

screen shot 2017-06-09 at 2 41 57 pm

I seem to have also got this after upgrading to rn 0.45.0...

Just upgraded to 0.45 and got the exact same issue

Is there a permanent fix on this? We've created our project first in android and it is working fine, when we try to run in it in ios the issue appears.

cd path/to/project && npm start

fixed this for me.

Only issue is, I had to leave that terminal tab open.

Same issue for me.

me too...

I try to reinstall node_modules and solve this problem.

same issue

Experienced the issue with these setups,

# [email protected]
react-native --version="0.45.0" MyProject
cd MyProject
react-native run-ios # issue occurred!

To overcome this, I need 2 terminals.

Terminal A

#  this will start the packager instead of spawning a new one
yarn start

Terminal B

react-native run-ios # no error ~

run this commandnpm start -- --reset-cache

Facing same error. npm start -- --reset-cache doesn't solve my issue.
React native version : 0.43.1
Any suggestion?
simulator screen shot feb 8 2018 4 47 29 pm

Experienced this from using pnpm. Using yarn solved it. Possibly related to RN issues with symlinks.

I'm also having the same error. None of the solutions here worked.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fenglu09 picture fenglu09  路  5Comments

Harkindey picture Harkindey  路  5Comments

tonykaku picture tonykaku  路  7Comments

abhijithcs picture abhijithcs  路  5Comments

davidtian719 picture davidtian719  路  9Comments