ReactNative - JS load error #72
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MichaelContento/redux-storage#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have installed redux-storage using npm install and also made sure to rebuilt app etc.
When I have the following line in my redux store, the JS fails to load:
import createEngine from 'redux-storage/engines/reactNativeAsyncStorage';I tried emulator and physical device, and both give error: 'Unable to download JS bundle.Did you forget to start the dev server...'
If I take out that line and reload js, the app works normally. This is with the folliowing dependencies:
Any suggestions of what might be causing this ?
I'm unable to reproduce this error. But
Unable to download JS bundle.Did you forget to start the dev server..sounds likereact-nativeis unable to fetch the JS bundle from your local machine.Is the host/port configuration properly set and reachable? Or maybe the
react-nativepackager has some problems with your setup? Can you spot anything in the output of the packager?This should be somehow related to redux-storage, as by removing it I no longer had the problem. I have now upgraded to RN 0.18, will try to retest as soon as possible.
I've tried to reproduce this error with various versions of
react-nativewithout any success 😞And as long as we don't have any more detailed informations about the error there is nothing I could do here, therefore closed. But feel free to re-open this issue if you have new details at hand!