in version 0.43.3, they renamed the react-native.js toreact-native-implementation.js in react-native/Libraries/react-native/
i do not know how to fix this dynamically, without breaking to support < RN 0.43.3
I join, I encountered an error while updating:
error: bundling: UnableToResolveError: Unable to resolve modulereact-native/Libraries/react-native/react-native.jsfromreact-native-project/node_modules/parse/lib/react-native/StorageController.react-native.js: Module does not exist in the module map or in these directories: react-native-project/node_modules/react-native/Libraries/react-native
Could you tell us, do will support for this version? :(
change the import in the meantime. package needs a version bump say to determine what RN to support
@jjdp
I with my team did support Parse-SDK-JS for RN v0.43:
https://github.com/allmaxgit/Parse-SDK-JS
You can try this:
"dependencies": {
...
"react": "16.0.0-alpha.6",
"react-native": "^0.43.2",
"parse": "git+https://github.com/allmaxgit/Parse-SDK-JS.git",
...
}
watchman watch-del-all
rm -rf node_modules/ && npm i
npm start --reset-cache
@mxklsn please create a PR with that change. I would love to see it in the next parse release.
@mxklsn thank you
@thiagoghisi yep, would be nice... I guess it would break the compatibility with the previous versions of React-Native though.
@mxklsn Thanks for your contribution. Could you also check #435 which Throws error just for Android ?
:wave: anyway I can help push this along?
This seems to be fixed in 1.10.0.
Yes. Fixed with 1.10.0.
Most helpful comment
@jjdp
I with my team did support Parse-SDK-JS for RN v0.43:
https://github.com/allmaxgit/Parse-SDK-JS
You can try this:
watchman watch-del-allrm -rf node_modules/ && npm inpm start --reset-cache