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

Internal server error when launching on Windows #1

Closed
hugoattal opened this issue Jan 31, 2022 · 0 comments · Fixed by #3
Closed

Internal server error when launching on Windows #1

hugoattal opened this issue Jan 31, 2022 · 0 comments · Fixed by #3
Assignees
Labels
bug Something isn't working

Comments

@hugoattal
Copy link
Collaborator

How to reproduce

Just run pnpm run story:dev under the example folder (after building the package).
Then navigate to the launched server (localhost:3000).

Result

image

16:35:45 [vite] Internal server error: Failed to resolve import "/componentsBaseButton.story.vue" from "..\..\..\..\..\$histoire-stories-resolved". Does the file exist?
  Plugin: vite:import-analysis
  File: /$histoire-stories-resolved
  1  |  import Comp0 from '/components\BaseButton.story.vue'
     |                     ^
  2  |  import Comp1 from '/components\Meow.story.vue'
  3  |  export let files = [{ id: 'components-basebutton-story-vue', file: '/components\BaseButton.story.vue', component: Comp0 },
      at formatError (D:\Library\Projects\histoire\node_modules\.pnpm\[email protected]\node_modules\vite\dist\node\chunks\dep-f5552faa.js:36769:46)
      at TransformContext.error (D:\Library\Projects\histoire\node_modules\.pnpm\[email protected]\node_modules\vite\dist\node\chunks\dep-f5552faa.js:36765:19)
      at normalizeUrl (D:\Library\Projects\histoire\node_modules\.pnpm\[email protected]\node_modules\vite\dist\node\chunks\dep-f5552faa.js:73703:26)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async TransformContext.transform (D:\Library\Projects\histoire\node_modules\.pnpm\[email protected]\node_modules\vite\dist\node\chunks\dep-f5552faa.js:73843:57)
      at async Object.transform (D:\Library\Projects\histoire\node_modules\.pnpm\[email protected]\node_modules\vite\dist\node\chunks\dep-f5552faa.js:36985:30)
      at async doTransform (D:\Library\Projects\histoire\node_modules\.pnpm\[email protected]\node_modules\vite\dist\node\chunks\dep-f5552faa.js:52060:29)

@hugoattal hugoattal added the bug Something isn't working label Jan 31, 2022
@hugoattal hugoattal self-assigned this Jan 31, 2022
@Akryum Akryum closed this as completed in #3 Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant