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

[Bug]: ERR! => Failed to build the preview ERR! Module not found: Error: Can't resolve '/app/storybook-init-framework-entry.js' in '/app' #19938

Closed
che198976 opened this issue Nov 23, 2022 · 2 comments

Comments

@che198976
Copy link

Describe the bug

image

To Reproduce

RUN npm run build-storybook

the command run in docker

System

Environment Info:

  System:
    OS: Windows 10 10.0.19042
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-1245U
  Binaries:
    Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.37)
  npmPackages:
    @storybook/addon-a11y: ^6.5.9 => 6.5.9
    @storybook/addon-actions: ^6.5.9 => 6.5.9
    @storybook/addon-essentials: ^6.5.9 => 6.5.9
    @storybook/addon-interactions: ^6.5.9 => 6.5.9
    @storybook/addon-links: ^6.5.9 => 6.5.9
    @storybook/addon-viewport: ^6.5.9 => 6.5.9
    @storybook/builder-webpack5: ^6.5.9 => 6.5.9
    @storybook/manager-webpack5: ^6.5.9 => 6.5.9
    @storybook/node-logger: ^6.5.9 => 6.5.9
    @storybook/preset-create-react-app: ^4.1.2 => 4.1.2
    @storybook/react: ^6.5.9 => 6.5.9
    @storybook/semver: ^7.3.2 => 7.3.2
    @storybook/test-runner: ^0.2.0 => 0.2.0
    @storybook/testing-library: ^0.0.13 => 0.0.13

Additional context

1.with react.
2. run in docker.

@mandarini
Copy link
Contributor

Hi there! Take a look at this issue please:

#19927

@valentinpalkovic
Copy link
Contributor

valentinpalkovic commented Nov 30, 2022

The underlying issue got fixed. Therefore, I will close this. Please let me know if you can still reproduce the issue.

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