React-native-tab-view: unable to resolve ./pagerDefault module from react-native-tab-view

Created on 25 Mar 2019  路  10Comments  路  Source: satya164/react-native-tab-view

./pager default is not found can you please help me to fix this issue

Most helpful comment

Like @ITsolution-git I get this issue out of the box, with Expo 32.
Followed the above steps by @jb9229 without luck.

Trying to open the project in iOS simulator...
Opening exp://127.0.0.1:19000 in iOS simulator

Press ? to show a list of all available commands.
Unable to resolve "./PagerDefault" from "node_modules/react-native-tab-view/src/index.js"
Unable to resolve "./PagerDefault" from "node_modules/react-native-tab-view/src/index.js"
Building JavaScript bundle [=========================================] 99%

However, expo start -c to clear React-Native cache as in duplicate #691 worked

All 10 comments

Also getting the same error when upgrading from 1.3.2 to 2.0.3

after you install ->react-native-tab-view
and try this react-native link react-native-tab-view
it may be solve your issue

I had the same issue after upgrading and running straight after; clearing metro cache (linux: rm -fr /tmp/metro-*) and running again solved this. Passed ages barking up different wrong trees first.

I'm using react-native-tab-view with expo and can't fix this problem... Clearing cache does not work. Any ideas?

uninstall react-native-tab-view and try react-native --reset cache . and install again ,link it & see it may work out ..

i solved with expo, after 'yarn cache clean'

I tried to clean my npm cache, but I still get unable tor resolve ./pageDefault module.
I am running on CRNA. Did someone solve this one successfully?

This is my solution in Expo:

  1. yarn remove react-native-tab-view
  2. yarn cache clean
  3. yarn add react-native-tab-view

Like @ITsolution-git I get this issue out of the box, with Expo 32.
Followed the above steps by @jb9229 without luck.

Trying to open the project in iOS simulator...
Opening exp://127.0.0.1:19000 in iOS simulator

Press ? to show a list of all available commands.
Unable to resolve "./PagerDefault" from "node_modules/react-native-tab-view/src/index.js"
Unable to resolve "./PagerDefault" from "node_modules/react-native-tab-view/src/index.js"
Building JavaScript bundle [=========================================] 99%

However, expo start -c to clear React-Native cache as in duplicate #691 worked

Try running yarn start --reset-cache or react-native start --reset-cache

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itzsaga picture itzsaga  路  3Comments

karthikeyansundaram2 picture karthikeyansundaram2  路  3Comments

ios-dev-newbie picture ios-dev-newbie  路  3Comments

jasonkw9 picture jasonkw9  路  3Comments

moerabaya picture moerabaya  路  4Comments