-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
react native setup fails to load after 5.1.0-alpha.25 (24 works) #6512
Comments
@ndelangen 3870bd1 looks like this might be related. I can take a look unless you think you have more context on this one. |
The above error is cleared after the above, now getting This error is located at: StoryView._this.renderListening |
It is connecting and initializing the web ui.. |
works when onDeviceUI: true. Getting the above onDeviceUI: false. I will create a new issue. |
@bitfrost did you try the latest alpha that contains @benoitdion 's fixes? |
Describe the bug
My react native setup fails to load after 5.1.0-alpha.25 (24 works) with following error:
undefined is not an object (evaluating '_global.document.location')
This is happening on device via metro:
getQueryParams
queryparams.js:19:47
KnobManager.js:72:39
loadModuleImplementation
require.js:331:6
registerKnobs.js:19:49
loadModuleImplementation
require.js:331:6
index.js:66:28
loadModuleImplementation
require.js:331:6
panel.js:46:25
loadModuleImplementation
require.js:331:6
index.js:14:43
loadModuleImplementation
require.js:331:6
register.js:1:7
loadModuleImplementation
require.js:331:6
rn-addons.js:1
loadModuleImplementation
require.js:331:6
index.js:4
loadModuleImplementation
require.js:331:6
:0
loadModuleImplementation
require.js:331:6
guardedLoadModule
require.js:197:45
global code
:0
To Reproduce
import { withKnobs } from '@storybook/addon-knobs';
import { addDecorator } from '@storybook/react-native';
addDecorator(withKnobs);
Expected behavior
App loads
Screenshots
Code snippets
If applicable, add code samples to help explain your problem.
System:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: