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

3.4.0-alpha.7 on react-native: require.resolve is not a function #2943

Closed
macrozone opened this issue Feb 8, 2018 · 3 comments
Closed

3.4.0-alpha.7 on react-native: require.resolve is not a function #2943

macrozone opened this issue Feb 8, 2018 · 3 comments
Assignees

Comments

@macrozone
Copy link
Contributor

using 3.4.0-alpha.7 on react-native leads to this error on the app:

require.resolve is not a function. (In 'require.resolve('./dist/client/manager')', 'require.resolve' is undefined)

<unknown>
    client.js:5:31
loadModuleImplementation
    require.js:213:12
<unknown>
    index.js:39:14
loadModuleImplementation
    require.js:213:12
<unknown>
    index.js:16:15
loadModuleImplementation
    require.js:213:12
<unknown>
    storybook.js:5
loadModuleImplementation
    require.js:213:12
<unknown>
    index.js:1
loadModuleImplementation
    require.js:213:12
guardedLoadModule
    require.js:140:45
global code
    <unknown file>:0
@Hypnosphi
Copy link
Member

Hypnosphi commented Feb 8, 2018

Related: https://github.com/storybooks/storybook/pull/2788/files#diff-a7fbf2cf40b23fc174eaa5bf22727bbb

Looks like managerPath doesn't belong to client (it's actually used in serverside code only)

@Hypnosphi Hypnosphi self-assigned this Feb 8, 2018
@igor-dv
Copy link
Member

igor-dv commented Feb 8, 2018

Yeah... probably should be moved to core/server.js

@Hypnosphi
Copy link
Member

Released as v3.4.0-alpha.8

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

No branches or pull requests

3 participants