-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
A few things I have noticed with story names:
Renaming stories can break the build
[9:12:38 AM] ERROR Pre-transform error: Failed to load url /stories/core/data/UiColorKey.story.vue?nuxt_component=async&nuxt_component_name=UiColorKeyStory&nuxt_component_export=default (resolved id: /Volumes/Data/Work/Clients/Forgd/forgd/apps/bedtime.internal/stories/core/data/UiColorKey.story.vue?nuxt_component=async&nuxt_component_name=UiColorKeyStory&nuxt_component_export=default) in virtual:nuxt:%2FVolumes%2FData%2FWork%2FClients%2FForgd%2Fforgd%2Fapps%2Fbedtime.internal%2F.nuxt%2Fcomponents.plugin.mjs. Does the file exist?
Not the end of the world, but worth handling gracefully if possible
Story filenames with spaces break the build
Note:
...is where I removed imports, for clarity:
ERROR Internal server error: Unexpected token (2:2305) 9:16:39 AM
Plugin: unctx:transform
File: virtual:nuxt:%2FVolumes%2FData%2FWork%2FClients%2FForgd%2Fforgd%2Fapps%2Fbedtime.internal%2F.nuxt%2Fcomponents.plugin.mjs:2:2305
1 | import { defineNuxtPlugin } from '#app/nuxt'
2 | import { ... LazyUi Color KeyStory, ... } from '#components'
|
Default story titles have the word Story concatenated to the end
UiColorKey.story.vue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
