# Dev setup: Front and Server test errors

**URL:** <https://community.gladysassistant.com/t/mise-en-place-dev-erreurs-test-front-et-server/8582>\
**Category:** Développement\
**Created:** [December 3, 2023, 10:13pm UTC](https://community.gladysassistant.com/t/mise-en-place-dev-erreurs-test-front-et-server/8582 "2023-12-03T22:13:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brisou](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/brisou/32/14134_2.png) [@Brisou](https://community.gladysassistant.com/u/Brisou)\
**Post date:** [December 3, 2023, 10:13pm UTC](https://community.gladysassistant.com/t/mise-en-place-dev-erreurs-test-front-et-server/8582/1 "2023-12-03T22:13:23Z")

</div>

Hi everyone,

Wanting to set up the development environment for Gladys on Windows and following the tutorial, when running `npm test` on the Server side, I get the following error:

 ![2023 12 01_SERVER_NPM TEST ERROR](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/418b726c21a9b2737a1d77723b1388092b739b3d.png)

Similarly, on the Front side, I get this one:

 ![2023 12 01_FRONT_NPM TEST ERROR](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/8/8e06bc87a83f0009c474225a7e4b629cd2db7b4e.png)

Has anyone encountered something similar?  
For info, I’m on node v18.19.0 and npm v9.9.2

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [December 4, 2023, 5:53pm UTC](https://community.gladysassistant.com/t/mise-en-place-dev-erreurs-test-front-et-server/8582/2 "2023-12-04T17:53:38Z")

</div>

Hi @Brisou! Your environment looks like it’s working pretty well!

For the only server test that doesn’t work, it might be a flaky test maybe? (=that works every other time). In development it’s not that bad, I absolutely never run the full test suite locally, I use it.only to run only the tests I want

For the frontend, there are no tests, we use Cypress, so what you ran doesn’t apply

> **[Faire tourner les tests Cypress dans Gladys | Gladys Assistant](https://gladysassistant.com/fr/docs/dev/cypress-tests/)**
>
> Nous utilisons Cypress pour faire des tests frontend end-to-end.

To me, your dev environment works perfectly!

---

<div class="post-metadata">

**Author:** ![Brisou](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/brisou/32/14134_2.png) [@Brisou](https://community.gladysassistant.com/u/Brisou)\
**Post date:** [December 4, 2023, 6:19pm UTC](https://community.gladysassistant.com/t/mise-en-place-dev-erreurs-test-front-et-server/8582/3 "2023-12-04T18:19:10Z")

</div>

Hello @pierre-gilles,

The «&nbsp;flaky&nbsp;» test that I sometimes have is for Bluetooth.  
Indeed, the Cypress tests work.

Thanks for your message!
