I try to install storyBook 8 on my Ember app 3.28 #26690
Unanswered
walterlamel
asked this question in
Help
Replies: 1 comment 1 reply
-
I am seeing this error also, after upgrading from v6.5 to v8.9. Any advice would be appreciated. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I did my installation with
pnpm dlx storybook@latest init
but in my storybook when i run
npm run storybook
i have this error :
global_1.global.require is not a function TypeError: global_1.global.require is not a function at loadEmberApp (http://localhost:6006/vendors-node_modules_pnpm_storybook_addon-essentials_8_0_5__types_react_18_2_73_react-dom_18_-0bb327.iframe.bundle.js:959:36) at ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]_babel_7wrosm7w342632zxyhxp4vtok4/node_modules/@storybook/ember/dist/client/preview/render.js (http://localhost:6006/vendors-node_modules_pnpm_storybook_addon-essentials_8_0_5__types_react_18_2_73_react-dom_18_-0bb327.iframe.bundle.js:966:13) at __webpack_require__ (http://localhost:6006/runtime~main.iframe.bundle.js:28:33) at fn (http://localhost:6006/runtime~main.iframe.bundle.js:313:21) at ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]_babel_7wrosm7w342632zxyhxp4vtok4/node_modules/@storybook/ember/dist/client/preview/config.js (http://localhost:6006/vendors-node_modules_pnpm_storybook_addon-essentials_8_0_5__types_react_18_2_73_react-dom_18_-0bb327.iframe.bundle.js:836:16) at __webpack_require__ (http://localhost:6006/runtime~main.iframe.bundle.js:28:33) at fn (http://localhost:6006/runtime~main.iframe.bundle.js:313:21) at PreviewWeb.getProjectAnnotations (http://localhost:6006/main.iframe.bundle.js:124:75) at PreviewWeb.getProjectAnnotationsOrRenderError (http://localhost:6006/sb-preview/runtime.js:118:6367) at PreviewWeb.initialize (http://localhost:6006/sb-preview/runtime.js:118:5672)
Someone can help me pls ?
Additional information
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions