Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

unable to resolve module #13

Open
Villar74 opened this issue Jul 27, 2017 · 2 comments
Open

unable to resolve module #13

Villar74 opened this issue Jul 27, 2017 · 2 comments

Comments

@Villar74
Copy link

Here i have installed components

dependecies:{
    "react": "^16.0.0-alpha.12",
    "react-native": "0.46.4",
    "react-native-deprecated-custom-components": "^0.1.1",
...
}

and packager shows me

error: bundling failed: "Unable to resolve module Navigator from /home/makswork/is74/lkapp_new/ReactApp/components/CityPayBackButton.js: Module does not exist in the module map\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n 1. Clear watchman watches: watchman watch-del-all.\n 2. Delete the node_modules folder: rm -rf node_modules && npm install.\n 3. Reset packager cache: rm -fr $TMPDIR/react-* or npm start -- --reset-cache."

I fix problems with PropTypes
Why does this happened?

@NonkelDaniel
Copy link

I am also having this issue after using react-native-git-upgrade to update to 0.46.4.

@Villar74
Copy link
Author

@NonkelDaniel I fixed it just add
var Navigator = require('react-native-deprecated-custom-components');

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants