-
-
Notifications
You must be signed in to change notification settings - Fork 102
[Bug]: package is incompatible with Storybook 8.6.0 #866
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
Comments
bump |
@yousef-n-daaboul NODE_OPTIONS='--no-experimental-require-module' will help you temporarily work around this problem. I'm using yarn.
|
After upgrading to storybook 8.6.6 I don't dace any issues |
+1 for this issue still happening. This issue occurs when running It looks as though this error is ignorable for the time being as storybook still seems to be functional. |
To add to this, in terms of a reproduction, the showcase example provided in the documentation also has this issue. I am still unsure whether the storybook incompatibility is linked to the issue of the storybook not showing correctly in devtools though. In my local version I can't get the storybook module to appear in my modules tab at all. |
yep. can confirm im having the exact same issue. easy enough to replicate. create a new nuxt app. run ReferenceError: module is not defined
at file:///F:/[path to root of project]/node_modules/.pnpm/@storybook-vue+nuxt@8.3.4-2_8e452b476838b254ac52ff0619b28e5f/node_modules/@storybook-vue/nuxt/preset.js:1:1
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:395:35)
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:360:47)
at loadESMFromCJS (node:internal/modules/cjs/loader:1385:24)
at Module._compile (node:internal/modules/cjs/loader:1536:5)
at node:internal/modules/cjs/loader:1706:10
at Object.newLoader (.\node_modules\.pnpm\esbuild-register@3.6.0_esbuild@0.25.2\node_modules\esbuild-register\dist\node.js:2262:9)
at extensions..js (.\node_modules\.pnpm\esbuild-register@3.6.0_esbuild@0.25.2\node_modules\esbuild-register\dist\node.js:4833:24)
at Module.load (node:internal/modules/cjs/loader:1289:32)
at Function._load (node:internal/modules/cjs/loader:1108:12) |
Fresh Nuxt and this module install today, getting this warning after
|
If it helps:
|
@drewbaker no, it doesn't help. Even though the process for Storybook starts, if fails with the following error after a couple of seconds:
|
Environment
Reproduction
not exist
Describe the bug
When i install storybook in my nuxt project using this command : "pnpm dlx storybook@latest init" i get this error when run storybook server:
WARN The following packages are incompatible with Storybook 8.6.0 as they depend on different major versions of Storybook packages:
WARN - @nuxtjs/storybook@8.3.3
WARN Repo: https://storybook.nuxtjs.org
WARN
WARN
WARN Please consider updating your packages or contacting the maintainers for compatibility details.
WARN For more on Storybook 8 compatibility, see the linked GitHub issue:
WARN storybookjs/storybook#26031
Additional context
SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset: @storybook-vue\nuxt\preset.
Please check whether your setup is correct, the Storybook dependencies (and their peer dependencies) are installed correctly and there are no package version clashes.
If you believe this is a bug, please open an issue on Github.
ReferenceError: module is not defined
at file:///~toProject/node_modules/.pnpm/@storybook-vue+nuxt@8.3.3_@types+node@22.7.9_eslint@9.13.0_jiti@2.3.3__magicast@0.3.5_nuxt@3._qpmjg76uwtxnjdwz4dzapenlzy/node_modules/@storybook-vue/nuxt/preset.js:1:1
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:395:35)
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47)
at loadESMFromCJS (node:internal/modules/cjs/loader:1411:24)
at Module._compile (node:internal/modules/cjs/loader:1544:5)
at node:internal/modules/cjs/loader:1668:16
at Object.newLoader (.\node_modules.pnpm\esbuild-register@3.6.0_esbuild@0.24.0\node_modules\esbuild-register\dist\node.js:2262:9)
at extensions..js (.\node_modules.pnpm\esbuild-register@3.6.0_esbuild@0.24.0\node_modules\esbuild-register\dist\node.js:4833:24)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
More info:
WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
ELIFECYCLE Command failed with exit code 1.
The text was updated successfully, but these errors were encountered: