We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
for svelte example i had 0.10.0 working but with 0.10.1 i see this error when running pnpm story:dev
0.10.0
0.10.1
pnpm story:dev
7:35:06 PM [vite] Internal server error: Failed to resolve import "@histoire/plugin-svelte/assets/histoire-svelte.svg" from "..\..\..\..\$histoire-config-resolved". Does the file exist? Plugin: vite:import-analysis File: /$histoire-config-resolved 1 | export const config = {"plugins":[{"name":"builtin:tailwind-tokens"},{"name":"builtin:vanilla-support","supportPlugin":{"id":"vanilla","moduleName":"C:/Users/oneezy/Desktop/test/node_modules/.pnpm/[email protected][email protected]/node_modules/histoire/dist/node/builtin-plugins/vanilla-support","setupFn":"setupVanilla"}},{"name":"@histoire/plugin-svelte","supportPlugin":{"id":"svelte3","moduleName":"@histoire/plugin-svelte","setupFn":"setupSvelte3"}}],"outDir":"C:/Users/oneezy/Desktop/test/.histoire/dist","storyMatch":["**/*.story.vue","**/*.story.svelte"],"storyIgnored":["**/node_modules/**","**/dist/**"],"supportMatch":[{"id":"vanilla","patterns":["**/*.js"],"pluginIds":["vanilla"]},{"id":"svelte","patterns":["**/*.svelte"],"pluginIds":["svelte3"]}],"tree":{"file":"title","order":"asc","groups":[{"id":"top","title":""}]},"theme":{"title":"Histoire","colors":{"primary":{"50":"#fff7ed","100":"#ffedd5","200":"#fed7aa","300":"#fdba74","400":"#fb923c","500":"#f97316","600":"#ea580c","700":"#c2410c","800":"#9a3412","900":"#7c2d12"},"gray":{"50":"#fafafa","100":"#f4f4f5","200":"#e4e4e7","300":"#d4d4d8","400":"#a1a1aa","500":"#71717a","600":"#52525b","700":"#3f3f46","750":"#323238","800":"#27272a","850":"#1f1f21","900":"#18181b","950":"#101012"}},"logo":{"square":"@histoire/plugin-svelte/assets/histoire-svelte.svg","light":"@histoire/plugin-svelte/assets/histoire-svelte-text.svg","dark":"@histoire/plugin-svelte/assets/histoire-svelte-text.svg"}},"responsivePresets":[{"label":"Mobile (Small)","width":320,"height":560},{"label":"Mobile (Medium)","width":360,"height":640},{"label":"Mobile (Large)","width":414,"height":896},{"label":"Tablet","width":768,"height":1024},{"label":"Laptop (Small)","width":1024,"height":null},{"label":"Laptop (Large)","width":1366,"height":null},{"label":"Desktop","width":1920,"height":null},{"label":"4K","width":3840,"height":null}],"backgroundPresets":[{"label":"Transparent","color":"transparent"},{"label":"White","color":"#fff"},{"label":"Light gray","color":"#aaa"},{"label":"Dark gray","color":"#333"},{"label":"Black","color":"#000"}],"sandboxDarkClass":"dark","routerMode":"history"} 2 | import Logo_square from '@histoire/plugin-svelte/assets/histoire-svelte.svg' | ^ 3 | import Logo_light from '@histoire/plugin-svelte/assets/histoire-svelte-text.svg' 4 | import Logo_dark from '@histoire/plugin-svelte/assets/histoire-svelte-text.svg' at formatError (file:///C:/Users/oneezy/Desktop/test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-0f13c890.js:35044:46) at TransformContext.error (file:///C:/Users/oneezy/Desktop/test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-0f13c890.js:35040:19) at normalizeUrl (file:///C:/Users/oneezy/Desktop/test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-0f13c890.js:40248:33) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async TransformContext.transform (file:///C:/Users/oneezy/Desktop/test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-0f13c890.js:40382:47) at async Object.transform (file:///C:/Users/oneezy/Desktop/test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-0f13c890.js:35293:30) at async loadAndTransform (file:///C:/Users/oneezy/Desktop/test/node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-0f13c890.js:39879:29)
https://github.com/oneezy/histoire-svelte/tree/0.10.1-bug
(steps inside README.md)
README.md
- Windows 11 - node v16.13.2 - pnpm 7.9.0
pnpm
The text was updated successfully, but these errors were encountered:
closed the issue to soon. I recorded a quick video to show the problem in action.
Sorry, something went wrong.
2f3e49a
No branches or pull requests
Describe the bug
for svelte example i had
0.10.0
working but with0.10.1
i see this error when runningpnpm story:dev
Reproduction
https://github.com/oneezy/histoire-svelte/tree/0.10.1-bug
(steps inside
README.md
)System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: