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

can't run foreman storybook with link #213

Closed
MariaAga opened this issue Sep 2, 2020 · 3 comments
Closed

can't run foreman storybook with link #213

MariaAga opened this issue Sep 2, 2020 · 3 comments

Comments

@MariaAga
Copy link
Member

MariaAga commented Sep 2, 2020

after running npm run link foreman storybook is blank with this error

vendors~main.c1497fb1402e0aa54feb.bundle.js:158954 Uncaught TypeError: __webpack_require__(...) is not a function
    at Module.../foreman-js/packages/stories/node_modules/webpack/buildin/harmony-module.js (vendors~main.c1497fb1402e0aa54feb.bundle.js:158954)
    at __webpack_require__ (runtime~main.99691078705b39185f99.bundle.js:80)
    at Module.../foreman-js/packages/stories/node_modules/@storybook/core/node_modules/regenerator-runtime/runtime.js (vendors~main.c1497fb1402e0aa54feb.bundle.js:33962)
    at __webpack_require__ (runtime~main.99691078705b39185f99.bundle.js:80)
    at Object.../foreman-js/packages/stories/node_modules/@storybook/core/dist/server/common/polyfills.js (vendors~main.c1497fb1402e0aa54feb.bundle.js:33184)
    at __webpack_require__ (runtime~main.99691078705b39185f99.bundle.js:80)
    at Object.0 (main.65b540c1cb15b19be336.bundle.js:37)
    at __webpack_require__ (runtime~main.99691078705b39185f99.bundle.js:80)
    at checkDeferredModules (runtime~main.99691078705b39185f99.bundle.js:46)
    at Array.webpackJsonpCallback [as push] (runtime~main.99691078705b39185f99.bundle.js:33)
@MariaAga
Copy link
Member Author

MariaAga commented Sep 8, 2020

@sharvit Can you take a look?

@jeremylenz
Copy link
Contributor

For what it's worth, I started work on upgrading to Storybook v6 here: #214

And the issue does not appear there.

@jeremylenz
Copy link
Contributor

Closing because #214 should solve it. Please reopen if that's not the case.

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

No branches or pull requests

2 participants