Originally posted by **harry-73** February 23, 2024
Hi,
I am trying to setup Cypress working with this package on Github actions.
on Github, when running the tests, the `node_modules/.vite/dep/` folder is empty, so `vite` optimized dependencies:
```
=> Client modified -- refreshing
I20240223-18:44:22.903(1)? 6:44:22 PM [vite] ✨ new dependencies optimized: vuetify/lib/components/VSkeletonLoader/index.mjs, vuetify/lib/components/transitions/index.mjs, vue-chartjs, chart.js, chartjs-adapter-moment
I20240223-18:44:22.903(1)? 6:44:22 PM [vite] ✨ optimized dependencies changed. reloading
```
and sometimes the Vite server restarts:
`I20240223-18:56:52.300(1)? ⚡ Starting Vite server..`
In this case, the tests failed.
I reproduce the issue, locally:
- I delete the `node_modules/.vite/dep/` folder
- I ran the tests ==> It fails
- the `node_modules/.vite/dep/` folder has the _optimized_ files
- I run the tests ==> it is OK.
How can we avoid that?
Discussed in https://github.com/JorgenVatle/meteor-vite/discussions/125