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

Upgrade Storybook configuration #30

Open
noltron000 opened this issue Jan 22, 2025 · 0 comments
Open

Upgrade Storybook configuration #30

noltron000 opened this issue Jan 22, 2025 · 0 comments
Assignees
Labels
cleanup Code changes that are not functionally oriented dependencies Pull requests that update a dependency file

Comments

@noltron000
Copy link
Contributor

Running yarn storybook produces an error. I haven't touched it since upgrading, so that makes sense! This is pretty low priority at the moment.

PS C:\Users\Nolan\Developer\nebuloid\frontend> yarn storybook
@storybook/core v8.4.7

WARN The following packages are incompatible with Storybook 8.4.7 as they depend on different major versions of Storybook packages:
WARN - storybook-addon-next@1.8.0
WARN  Repo: https://github.com/RyanClementsHax/storybook-addon-next#readme
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 https://github.com/storybookjs/storybook/issues/26031
info => Starting manager..
X [ERROR] Could not resolve "@storybook/addons"

    node_modules/storybook-addon-next/dist/register.js:3:25:
      3 │ const addons_1 = require("@storybook/addons");
        ╵                          ~~~~~~~~~~~~~~~~~~~

  You can mark the path "@storybook/addons" as external to exclude it from the bundle, which will
  remove this error and leave the unresolved path in the bundle. You can also surround this
  "require" call with a try/catch block to handle this failure at run-time instead of bundle-time.

Error: Build failed with 1 error:
node_modules/storybook-addon-next/dist/register.js:3:25: ERROR: Could not resolve "@storybook/addons"
    at failureErrorWithLog (.\node_modules\esbuild\lib\main.js:1476:15)
    at .\node_modules\esbuild\lib\main.js:945:25
    at runOnEndCallbacks (.\node_modules\esbuild\lib\main.js:1316:45)
    at buildResponseToResult (.\node_modules\esbuild\lib\main.js:943:7)
    at .\node_modules\esbuild\lib\main.js:970:16
    at responseCallbacks.<computed> (.\node_modules\esbuild\lib\main.js:622:9)
    at handleIncomingPacket (.\node_modules\esbuild\lib\main.js:677:12)
    at Socket.readFromStdout (.\node_modules\esbuild\lib\main.js:600:7)
    at Socket.emit (node:events:524:28)
    at addChunk (node:internal/streams/readable:561:12)

WARN Broken build, fix the error above.
WARN You may need to refresh the browser.
@noltron000 noltron000 self-assigned this Jan 22, 2025
@noltron000 noltron000 added cleanup Code changes that are not functionally oriented dependencies Pull requests that update a dependency file labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code changes that are not functionally oriented dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

1 participant