-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi,
I am trying to import this module into my project but the moment I add this line:
import { LANScan } from 'react-native-lanscan';
I get an error which says:
"Unable to resolve module events from /Users/amci/Sites/verv/ConnectorApp/node_modules/react-native-lanscan/main-tf.js: Module does not exist in the module map or in these directories:
/Users/amci/Sites/verv/ConnectorApp/node_modules,
/Users/amci/node_modules
This might be related to https://github.com/facebook/react-native/issues/4968
To resolve try the following:
1. Clear watchman watches: `watchman watch-del-all`.
2. Delete the `node_modules` folder: `rm -rf node_modules && npm install`.
3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`."
I've tried everything that says, cleared all cache, removed the node_modules and re-installed them.
Do you know what is happening? I've attached a screen shot from the emulator.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
