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

[vite] Pre-transform error: Failed to load url #17283

Open
7 tasks done
ericson949 opened this issue May 23, 2024 · 0 comments
Open
7 tasks done

[vite] Pre-transform error: Failed to load url #17283

ericson949 opened this issue May 23, 2024 · 0 comments

Comments

@ericson949
Copy link

Describe the bug

in my vite 5 project, after we merge branch with new file, vite #DEV crash, and I have to stop and restard #DEV to new to be resolved by vite

Reproduction

npm create vite@latest

Steps to reproduce

  • pnpm run dev
  • create a file layout A.tsx in main branch
  • create a git branch : test-branch
  • create a file component 'B.tsx"
  • import call component B. on A
  • commit push
  • stop vite
  • checkout to main
  • restart vite dev
  • create a file component C
  • call C in A
  • merge test-branch in branch A
    ==>normally a this stage you should have error like this in console

System Info

12:33:16 [vite] Pre-transform error: Failed to load url /front-app/ui/dashboard/preparatory-phase/grid-configuration-state/mo-esg-ti/grid/index/ListMoEsgTI.tsx (resolved
hase/grid-configuration-state/mo-esg-ti/grid/index/ListMoEsgTI.tsx) in C:/laragon/www/calcul-couts/front-app/assets/css/index.css. Does the file exist? (x2)

Used Package Manager

pnpm

Logs

No response

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant