Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use this with react-native-windows? #8

Open
vpopescu opened this issue Oct 6, 2017 · 0 comments
Open

Can I use this with react-native-windows? #8

vpopescu opened this issue Oct 6, 2017 · 0 comments

Comments

@vpopescu
Copy link

vpopescu commented Oct 6, 2017

This doesn't end with a working project (but then again, I don't really know what I'm doing! :)

sbt new scalajs-react-interface/mobile.g8 # name it sample2
cd sample2
react-native init sample2
npm install --save-dev
npm install --save-dev rnpm-plugin-windows
react-native windows
react-native start

at runtime, i get the following (suggestion doesn't seem to help):

Loading dependency graph, done.
Bundling index.windows.js 0.0% (0/5), failed.
error: bundling failed: "Unable to resolve module AccessibilityInfo from C:\\source\\sample\\sample2\\node_modules\\react-native\\Libraries\\react-native\\react-native-implementation.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."

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

No branches or pull requests

1 participant