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 is breaking after version 6 #19133

Closed
7 tasks done
davifernandodias opened this issue Jan 4, 2025 · 1 comment
Closed
7 tasks done

vite is breaking after version 6 #19133

davifernandodias opened this issue Jan 4, 2025 · 1 comment

Comments

@davifernandodias
Copy link

Describe the bug

every time I try to upload the application this problem
Screenshot_1

Reproduction

https://github.com/davifernandodias/errorvite

Steps to reproduce

every time execute npm run dev gives this error:

error when starting dev server:
ReferenceError: structuredClone is not defined
at deepClone (file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:10287:5)
at file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:10274:29
at Array.map ()
at deepClone (file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:10274:18)
at deepClone (file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:10279:21)
at deepClone (file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:10279:21)
at mergeWithDefaults (file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:10313:26)
at resolveBuildEnvironmentOptions (file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:50617:18)
at resolveEnvironmentOptions (file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:53159:12)
at resolveConfig (file:///C:/Users/Davi/Desktop/curso%20react/da/pp/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:53408:45)

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i3-10100F CPU @ 3.60GHz
    Memory: 5.42 GB / 15.91 GB
  Binaries:
    Node: 16.20.2 - ~\node_modules\.bin\node.CMD
    npm: 10.9.0 - ~\AppData\Local\fnm_multishells\5440_1735988068822\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.105)
    Internet Explorer: 11.0.19041.4355
  npmPackages:
    @vitejs/plugin-react: ^4.3.4 => 4.3.4
    vite: ^6.0.5 => 6.0.7

Used Package Manager

npm

Logs

No response

Validations

@davifernandodias
Copy link
Author

problem solved, local problem

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