# \[Gladys 4\] Fehler „Bitte installieren Sie das sqlite3-Paket manuell“

**URL:** <https://community.gladysassistant.com/t/gladys-4-erreur-please-install-sqlite3-package-manually/4870>\
**Category:** Développement\
**Created:** [4. August 2019 um 09:37 UTC](https://community.gladysassistant.com/t/gladys-4-erreur-please-install-sqlite3-package-manually/4870 "2019-08-04T09:37:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pti\_Nico](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pti_nico/32/273_2.png) [@Pti\_Nico](https://community.gladysassistant.com/u/Pti_Nico)\
**Post date:** [4. August 2019 um 09:37 UTC](https://community.gladysassistant.com/t/gladys-4-erreur-please-install-sqlite3-package-manually/4870/1 "2019-08-04T09:37:20Z")

</div>

Hallo,

Achtung an alle Gladys 4 Entwickler, ich brauche Hilfe, um meine Entwicklungsumgebung abzuschließen.

Nach der Initialisierung einer brandneuen Umgebung (nodejs, sqlite3, openssl, openzwave, …) erhalte ich diesen Fehler beim Starten der Tests:

```shell
user@localhost:/mnt/d/Projekte/Gladys/Sources/Gladys$ npm test

> gladys@4.0.0-alpha test /mnt/d/Projekte/Gladys/Sources/Gladys
> run-p test-server test-front

> gladys@4.0.0-alpha test-server /mnt/d/Projekte/Gladys/Sources/Gladys
> cd server && npm test

> gladys@4.0.0-alpha test-front /mnt/d/Projekte/Gladys/Sources/Gladys
> cd front && npm test

> gladys-server@ pretest /mnt/d/Projekte/Gladys/Sources/Gladys/server
> cross-env SQLITE_FILE_PATH=/tmp/gladys-test.db npm run db-migrate:test && npm run eslint

> gladys-front@ test /mnt/d/Projekte/Gladys/Sources/Gladys/front
> jest --coverage

> gladys-server@ db-migrate:test /mnt/d/Projekte/Gladys/Sources/Gladys/server
> cross-env NODE_ENV=test node_modules/.bin/sequelize db:migrate

Sequelize CLI [Node: 10.16.1, CLI: 5.4.0, ORM: 4.42.0]

Loaded configuration file "config/config.js".
Using environment "test".

ERROR: Please install sqlite3 package manually

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gladys-server@ db-migrate:test: `cross-env NODE_ENV=test node_modules/.bin/sequelize db:migrate`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the gladys-server@ db-migrate:test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/nicolas/.npm/_logs/2019-08-04T09_16_00_555Z-debug.log
npm ERR! Test failed. See above for more details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gladys@4.0.0-alpha test-server: `cd server && npm test`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the gladys@4.0.0-alpha test-server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/nicolas/.npm/_logs/2019-08-04T09_16_00_592Z-debug.log
ERROR: "test-server" exited with 1.
npm ERR! Test failed. See above for more details.

```

Trotzdem ist sqlite3 installiert und funktioniert:

```shell
user@localhost:/mnt/d/Projekte/Gladys/Sources/Gladys$ sqlite3
SQLite version 3.22.0 2018-01-22 18:45:57
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .exit
user@localhost:/mnt/d/Projekte/Gladys/Sources/Gladys$ 

```

Ich habe wohl etwas übersehen, aber was?

Vielen Dank im Voraus für eure Hilfe… 😉

---

<div class="post-metadata">

**Author:** ![damalgos](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/d/e274bd/32.png) [@damalgos](https://community.gladysassistant.com/u/damalgos)\
**Post date:** [4. August 2019 um 11:25 UTC](https://community.gladysassistant.com/t/gladys-4-erreur-please-install-sqlite3-package-manually/4870/2 "2019-08-04T11:25:24Z")

</div>

Hallo!

Du bist fast da 🙂

Es ist sqlite auf der Node.js-Seite, nicht das System.

Also ein kurzes `npm install sqlite3` sollte das Problem lösen.

---

<div class="post-metadata">

**Author:** ![Pti\_Nico](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pti_nico/32/273_2.png) [@Pti\_Nico](https://community.gladysassistant.com/u/Pti_Nico)\
**Post date:** [4. August 2019 um 13:55 UTC](https://community.gladysassistant.com/t/gladys-4-erreur-please-install-sqlite3-package-manually/4870/3 "2019-08-04T13:55:05Z")

</div>

> [@damalgos](#):
>
> Ein einfaches `npm install sqlite3` sollte das Problem beheben

Tatsächlich hatte ich es nicht im `server`-Verzeichnis des Projekts ausgeführt (wie im Fehlermeldung angegeben), sondern nur im Stammverzeichnis. Jetzt läuft es besser 😊

Danke für die Hilfe.
