question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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 issue

After 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:open
  • Created 3 years ago
  • Reactions:22
  • Comments:21

github_iconTop GitHub Comments

60reactions
jdeggercommented, Jul 9, 2020

Use npm start -- --reset-cache instead of npm 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.

8reactions
thanhcuong1990commented, Jul 9, 2020

@jdegger Thank you! Resolved: use npm start -- --reset-cache instead of npm start --reset-cache

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found