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

Errors encountered when installing: #47

Open
matthew-dean opened this issue Aug 23, 2023 · 3 comments
Open

Errors encountered when installing: #47

matthew-dean opened this issue Aug 23, 2023 · 3 comments
Assignees

Comments

@matthew-dean
Copy link

I encountered the following errors:

  1. Error: Could not evaluate the @storybook-vue/nuxt package from the 'framework' field of Storybook config. Are you sure it's a valid package and is installed?
  2. sh: storybook-nuxt: command not found
  3. The stories property of StorybookConfig has an error: Object literal may only specify known properties, and 'stories' does not exist in type 'StorybookConfig'
  4. The preview.ts has an error: Module '"@storybook-vue/nuxt"' has no exported member 'Preview'

Eventually I got Storybook started by downgrading Storybook to a non-alpha version, and manually installing the storybook-nuxt cli package, but...

Instead of rendering the story, Storybook renders, for the story, a Nuxt 404 page.

@moifort
Copy link

moifort commented Aug 23, 2023

I encountered the same error, change your import and configuration in .storybook/main.ts by @storybook-nuxt/framework instead of @storybook-vue/nuxt.

But still have not working storybook, I continue digging...

@chakAs3
Copy link
Contributor

chakAs3 commented Aug 23, 2023

@matthew-dean @moifort Sorry i was publishing for 2 namespaces, please try again, i released new version.

use can test this on Stackbliz

@chakAs3 chakAs3 self-assigned this Aug 23, 2023
@rezkileap
Copy link

rezkileap commented Aug 24, 2023

I tried this earlier to bootstrap a new project and still does not work. same issue though Error: Could not evaluate the @storybook-vue/nuxt package from the 'framework' field of Storybook config. Are you sure it's a valid package and is installed?

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

4 participants