-
-
Notifications
You must be signed in to change notification settings - Fork 95
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 use with nuxt 3.12.1, The entry point "vue" cannot be marked as external #641
Comments
I'm also getting this error in a Nuxt repo with our version set to |
The examples in the docs also give this error when running |
main.ts
|
This is a result of nuxt/nuxt#27372 and is fixed with #634. @chakAs3 could you please release a new version of the storybook addon (packages\storybook-nuxt). Thanks! |
First, I have an issue with the package build. Second, using the release script will create a mess with the versions. Previously, my deployment action was simply using pnpm publish with NPM registry credentials. I'm not sure what script you're using after the repo migration, and I'm quite busy these days, so I'm feeling a bit lost. |
@chakAs3 Thanks a lot for the release! In #655, I've updated the release script to be compatible with the new repo structure. Just run Could you please also add the NPM deployment token as a secret to github so that I can setup nightly builds? #562 That would be awesome! |
This issue does not seem to be resolved, |
The issue exists also with nuxt 3.12.4... |
facing the same issue when upgrading to nuxt 3.13.0 |
I'm also experiencing this issue. I can't find a combination of Nuxt and Storybook that works. |
Can you please provide a reproduction? Thanks |
Still getting that error on Nuxt version "3.13.0". Rolled back to "3.11.2" Then ran: All is working now |
I can confirm the same error happens to my with this setup on a Nuxt layer {
"name": "ui-nuxt-layer",
"type": "module",
"version": "0.0.1",
"main": "./nuxt.config.ts",
"scripts": {
"dev": "nuxi dev .playground",
"dev:prepare": "nuxt prepare .playground",
"build": "nuxt build .playground",
"generate": "nuxt generate .playground",
"preview": "nuxt preview .playground",
"lint": "eslint .",
"storybook": "storybook dev --port 6006",
"build-storybook": "storybook build"
},
"devDependencies": {
"@nuxt/eslint": "latest",
"@nuxtjs/storybook": "^8.2.0",
"eslint": "^9.11.0",
"nuxt": "^3.13.0", // ✅ 3.11.2 Works fine with pnpm run storybook ✅
"typescript": "^5.6.2",
"vue": "latest",
"storybook": "8.3.5",
"@types/node": "^18.17.5",
"@storybook/vue3": "8.3.5",
"@storybook-vue/nuxt": "0.2.6",
"@storybook/addon-links": "8.3.5",
"@storybook/builder-vite": "8.3.5",
"@storybook/addon-essentials": "8.3.5",
"@storybook/addon-interactions": "8.3.5",
"@storybook/test": "8.3.5",
"@storybook/blocks": "8.3.5"
}
} However, trying to run
|
remove this |
hello @tobiasdiez, encountering the same issue
|
Do you use the same code as in https://github.com/nuxt-modules/storybook/tree/main/examples/starter ? |
Ok~ that worked! (with additional steps, shown below) I used that starter and encountered the following error on Dug a bit more and found a workaround here: #776 (comment) After adding the following in my
Based on the thread above, the latest working config is in v8.3.0 |
The workaround @jadurani describes works for me, too. However, I now experience problems loading Vue components.
I have a feeling this might be happening because I'm using storybook in a Nuxt module, not a Nuxt project / site. So this might be unrelated to this thread. |
error log:
deps:
I did not enable any nuxt4 features, rolling back nuxt to 3.11.2 can solve this problem
The text was updated successfully, but these errors were encountered: