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 using beta version causing github action fail #6427

Closed
kuchaguangjie opened this issue Aug 30, 2022 · 1 comment
Closed

vite using beta version causing github action fail #6427

kuchaguangjie opened this issue Aug 30, 2022 · 1 comment

Comments

@kuchaguangjie
Copy link

Describe the bug

Github action fail with:

.
└─┬ @sveltejs/kit 1.0.0-next.454
  └── ✕ unmet peer vite@^3.1.0-beta.1: found 3.0.9

hint: If you don't want pnpm to fail on peer dependency issues, add "strict-peer-dependencies=false" to an .npmrc file at the root of your project.

Error: Process completed with exit code 1.

Is there any reason to use beta version of vite ?

Reproduction

In package.json, set "vite": "^3.0.9", then start, and will get the above error.

Logs

No response

System Info

System:
    OS: Linux 5.14 Linux Mint 20.1 (Ulyssa)
    CPU: (8) x64 Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
    Memory: 8.22 GB / 15.55 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.1/bin/yarn
    npm: 8.17.0 - ~/.nvm/versions/node/v16.13.1/bin/npm
  Browsers:
    Chrome: 104.0.5112.79
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.64 
    @sveltejs/kit: next => 1.0.0-next.408 
    svelte: ^3.49.0 => 3.49.0 
    vite: ^3.0.7 => 3.0.7 


### Severity

serious, but I can work around it

### Additional Information

_No response_
@Conduitry
Copy link
Member

There is a reason to use the Vite beta - it fixes some important bugs, notably #5952. You should update your package.json to ^3.1.0-beta.1 for now, to match the new peer-dependency version in SvelteKit, until Vite 3.1.0 is released.

@Conduitry Conduitry closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2022
spences10 added a commit to spences10/sveltekit-local-fonts that referenced this issue Aug 31, 2022
spences10 added a commit to spences10/html-all-the-things that referenced this issue Aug 31, 2022
spences10 added a commit to spences10/sveltekit-and-airtable-contact-form-example that referenced this issue Aug 31, 2022
spences10 added a commit to spences10/sveltekit-embed that referenced this issue Aug 31, 2022
spences10 added a commit to spences10/svead that referenced this issue Aug 31, 2022
spences10 added a commit to spences10/scottspence.com that referenced this issue Aug 31, 2022
spences10 added a commit to spences10/sveltekit-short-urls that referenced this issue Sep 1, 2022
spences10 added a commit to spences10/sveltekit-theme-switch-example that referenced this issue Sep 1, 2022
spences10 added a commit to spences10/jamp that referenced this issue Sep 2, 2022
spences10 added a commit to spences10/sveltekit-and-fathom that referenced this issue Sep 2, 2022
spences10 added a commit to spences10/svelte-quiz that referenced this issue Sep 5, 2022
spences10 added a commit to spences10/sveltekit-starter-blog that referenced this issue Sep 5, 2022
spences10 added a commit to spences10/sveltekit-mdsvex-starter-blog that referenced this issue Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants