[v7.0.0] Error: Unable to resolve module `./toolbar-android` from `node_modules/react-native-vector-icons/dist/lib/create-icon-set.js`
See original GitHub issueAfter upgrading to the new version 7.0.0, running iOS failed at:
Error: Unable to resolve module `./toolbar-android` from `node_modules/react-native-vector-icons/dist/lib/create-icon-set.js`
I’m trying to clean with
watchman watch-del-all
rm -rf node_modules/
rm -rf ios/Pods/
npm start --reset-cache
Installing the @react-native-community/toolbar-android
package not solves the error yet.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:22
- Comments:21
Top Results From Across the Web
Unable to resolve module `@react-native-community/toolbar ...
It's weird because two days ago it works well but now starting of my project ran to this error: error: Error: Unable to...
Read more >unable to resolve module react native - You.com | The search ...
Error : Unable to resolve module `@react-native-community/toolbar-android` ... I update the package to the version "^7.0.0" on my project and still, ...
Read more >MongoDB Atlas App Services & Realm
Fresh Setup: Realm React Native Error: Unable to resolve module `./subscription` from `node_modules/realm/lib/browser/index.js`.
Read more >Unable to resolve module `@react-native-community/toolbar ...
Coding example for the question Error: Unable to resolve module ... Edit this file node_modules\react-native-vector-icons\lib\toolbar-android.js.
Read more >React Native in the browser - Expo Snack
Did you know: You can turn off automatic updates under Devices in the footer? Unable to resolve module 'expo-av.js' Evaluating expo-av.js Evaluating App.js...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Use
npm start -- --reset-cache
instead ofnpm start --reset-cache
The double dash in the middle tells NPM to pass on the cli args to the command executed. This solved the issue for me.
@jdegger Thank you! Resolved: use
npm start -- --reset-cache
instead ofnpm start --reset-cache