-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: bundling failed: Error: While resolving module react-native-vector-icons/Ionicons
, the Haste package react-native-vector-icons
was found. However the module Ionicons
could not be found within the package
#627
Comments
Closing issue in favor of #626 |
Try This |
Excuse me,Can you tell me how you solved it |
Dup of #626 |
rm node_modules/react-native/local-cli/core/fixtures/files/package.json |
Hey i am working on windows 10 and there is no fixtures folder inside node_modules/react-native/local-cli/core Anyone else facing the same issue? |
I have removed the rm node_modules/react-native/local-cli/core/fixtures/files/package.json, still facing the same issue in mac mac. Kindly reopen the ticket |
shubhamkackar, Im also on windows 10 and i get the same "indeed none of the files exist" error. I will not clear my cache it sounds incompetent. How to update react-native project to find new files like images? |
After upgrading my react native project and also my react-native-vector-icons I started receiving this error.
React-Native = 0.52.0
React = 16.2.0
React-native-vector-icons = 4.5.0
Loading dependency graph, done.
warning: the transform cache was reset.
error: bundling failed: Error: While resolving module
react-native-vector-icons/Ionicons
, the Haste packagereact-native-vector-icons
was found. However the moduleIonicons
could not be found within the package. Indeed, none of these files exist:/home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/react-native/local-cli/core/__fixtures__/files/Ionicons(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)
/home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/react-native/local-cli/core/__fixtures__/files/Ionicons/index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)
at resolveHasteName (/home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:387:9)
at ModuleResolver._resolveDependency (/home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:317:37)
at ModuleResolver.resolveDependency (/home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:313:877)
at ResolutionRequest.resolveDependency (/home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/metro/src/node-haste/DependencyGraph/ResolutionRequest.js:97:16)
at DependencyGraph.resolveDependency (/home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/metro/src/node-haste/DependencyGraph.js:269:4352)
at /home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/metro/src/DeltaBundler/traverseDependencies.js:201:36
at Generator.next ()
at step (/home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:306)
at /home/morteza/projects/fingermenu/finger-menu-restaurant-mobile/node_modules/metro/src/DeltaBundler/traverseDependencies.js:256:536
at new Promise ()
BUNDLE [android, dev] ./index.android.js ▓▓▓▓░░░░░░░░░░░░ 30.5% (289/523), failed.
The text was updated successfully, but these errors were encountered: