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.

React Native: "Unable to resolve module react-swipeable-views-utils"

See original GitHub issue

Hi, thanks for your work!

I updated the react-swipeable-views to 0.9.1 and changed the import statements to:

import { virtualize } from 'react-swipeable-views-utils';
import SwipeableViews from 'react-swipeable-views-native';

The packager is unable to resolve react-swipeable-views-utils module. I am using the native version.

I also tried to install react-swipeable-views-utils as a separate package, the packager is unable to resolve react-addons-shallow-compare then. Installing the shallow-compare module gives me an “Unable to resolve keycode” error.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
oliviertassinaricommented, Dec 24, 2016

I confirm, I have tried it, it’s 💯 % fixed. Thanks for the report.

0reactions
yacutcommented, Nov 6, 2018

@habib786 please try to clear cache and reinstall npm packages:

watchman watch-del-all
rm -rf ./node_modules
rm -rf ~/.rncache
yarn install
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Resolve Module in React Native App - Stack Overflow
I'm getting an error in React Native saying it can't resolve a module. It's saying a certain folder doesn't exist but the path...
Read more >
0.62.1. error: Error: Unable to resolve module `react-native ...
Build completes but application fails to start with the error: error: Error: Unable to resolve module react-native/Libraries/vendor/core/isEmpty from ...
Read more >
Troubleshooting | React Navigation
I'm getting an error "Unable to resolve module" after updating to the latest ... Error: While trying to resolve module "@react-navigation/native" from file ......
Read more >
React Native, Typescript and VS Code: Unable to resolve ...
The problem with resolving modules turned out to be related to VS Code's typescript project helper.
Read more >
Android Native Modules
You can find your Android project here within a React Native app: ... module method call, if it's a function, is treated as...
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