Skip to content

Commit 569432d

Browse files
committed
docs: adding vite 4.2 workaround to react & vue guides
1 parent 6b52b74 commit 569432d

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

docs/guides/component-testing/react/quickstart.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@ cd my-awesome-app
3333
npm install
3434
```
3535

36+
:::caution
37+
38+
We are currently investigating an issue with Vite 4.2 and Cypress. We recommend
39+
manually installing Vite 4.1 in the project until the issue is resolved.
40+
41+
```bash
42+
npm i vite@4.1
43+
```
44+
45+
View the status of
46+
[issue 26138 here](https://github.com/cypress-io/cypress/issues/26138)
47+
48+
:::
49+
3650
> You can also download a Git repo with a fully working copy of this tutorial
3751
> [here](https://github.com/cypress-io/component-testing-quickstart-apps/tree/main/react).
3852

docs/guides/component-testing/vue/quickstart.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@ cd my-awesome-app
3333
npm install
3434
```
3535

36+
:::caution
37+
38+
We are currently investigating an issue with Vite 4.2 and Cypress. We recommend
39+
manually installing Vite 4.1 in the project until the issue is resolved.
40+
41+
```bash
42+
npm i vite@4.1
43+
```
44+
45+
View the status of
46+
[issue 26138 here](https://github.com/cypress-io/cypress/issues/26138)
47+
48+
:::
49+
3650
> You can also download a Git repo with a fully working copy of this tutorial
3751
> [here](https://github.com/cypress-io/component-testing-quickstart-apps/tree/main/vue).
3852

0 commit comments

Comments
 (0)