# Not able to install SQLite

**URL:** <https://discourse.nodered.org/t/not-able-to-install-sqlite/49745>\
**Category:** General\
**Created:** [15 August 2021 12:09 UTC](https://discourse.nodered.org/t/not-able-to-install-sqlite/49745 "2021-08-15T12:09:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [15 August 2021 12:30 UTC](https://discourse.nodered.org/t/not-able-to-install-sqlite/49745/4 "2021-08-15T12:30:52Z")

</div>

> [@KratosReus](#):
>
> Does it mean I need to have a prior version of Node.js installed? What should I do to overcome this issue?

No need to downgrade your nodejs. But because sqlite3 depends on some binary files that need to be built, your system needs the necessary tools to do that (windows-build-tools). The command to install it :

```auto
npm install --global windows-build-tools

```

> [@Unable to install SQlite](https://discourse.nodered.org/t/unable-to-install-sqlite/41878/2):
>
> you need windows-build-tools npm install --global windows-build-tools it can take a long time & appear stuck - wait it out, then try install sqlite once more ALSO... looks like you were in wrong folder. make sure command prompt is inside your node-red folder (normally c:\users\username\.node-red)

@dceejay could these problems with installation of the popular sqlite node be avoided if we bump up the dependancy version of sqlite3 to 5.0.2. It says in the chance log that they rebuilt the binaries ?  
[Changelog](https://github.com/mapbox/node-sqlite3/blob/master/CHANGELOG.md)

---

_[View the full topic](https://discourse.nodered.org/t/not-able-to-install-sqlite/49745)._
