# Unable to install Node-sqlite

**URL:** https://discourse.nodered.org/t/unable-to-install-node-sqlite/43671
**Category:** General
**Created:** [5 April 2021 03:32 UTC](https://discourse.nodered.org/t/unable-to-install-node-sqlite/43671 "2021-04-05T03:32:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![TriAtma-D](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/triatma-d/32/39783_2.png) [@TriAtma-D](https://discourse.nodered.org/u/TriAtma-D)
#### Post date: [5 April 2021 03:32 UTC](https://discourse.nodered.org/t/unable-to-install-node-sqlite/43671/1 "2021-04-05T03:32:13Z")

</div>

can you help me to solve my installation issue. here the log shown to me,  
thank youu

2021-04-05T01:21:01.854Z Install : node-red-node-sqlite 0.6.0

2021-04-05T01:21:02.199Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-node-sqlite@0.6.0  
2021-04-05T01:21:06.158Z [err] npm  
2021-04-05T01:21:06.158Z [err] WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future  
2021-04-05T01:21:09.254Z [out]  
2021-04-05T01:21:09.254Z [out] \> sqlite3@4.2.0 install C:\Users\asus.node-red\node\_modules\sqlite3  
2021-04-05T01:21:09.254Z [out] \> node-pre-gyp install --fallback-to-build  
2021-04-05T01:21:09.254Z [out]  
2021-04-05T01:21:09.641Z [err] node-pre-gyp  
2021-04-05T01:21:09.641Z [err] WARN Using request for node-pre-gyp https download  
2021-04-05T01:21:10.890Z [err] node-pre-gyp  
2021-04-05T01:21:10.890Z [err] WARN Tried to download(403): mapbox-node-binarys3amazonawscom/sqlite3/v4.2.0/node-v83-win32-x64.tar.gz  
2021-04-05T01:21:10.890Z [err] node-pre-gyp  
2021-04-05T01:21:10.890Z [err] WARN Pre-built binaries not found for sqlite3@4.2.0 and node@14.15.5 (node-v83 ABI, unknown) (falling back to source compile with node-gyp)  
2021-04-05T01:21:11.816Z [err] gyp  
2021-04-05T01:21:11.817Z [err] ERR! find Python  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python Python is not set from command line or npm configuration  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python Python is not set from environment variable PYTHON  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python checking if "python" can be used  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python - "python" is not in PATH or produced an error  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python checking if "python2" can be used  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python - "python2" is not in PATH or produced an error  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python checking if "python3" can be used  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python - "python3" is not in PATH or produced an error  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python checking if the py launcher can be used to find Python 2  
2021-04-05T01:21:11.817Z [err] gyp ERR!  
2021-04-05T01:21:11.817Z [err] find Python - "py.exe" is not in PATH or produced an error  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python checking if Python is C:\Python27\python.exe  
2021-04-05T01:21:11.817Z [err] gyp  
2021-04-05T01:21:11.817Z [err] ERR! find Python - "C:\Python27\python.exe" could not be run  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python checking if Python is C:\Python37\python.exe  
2021-04-05T01:21:11.817Z [err] gyp  
2021-04-05T01:21:11.817Z [err] ERR! find Python - "C:\Python37\python.exe" could not be run  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python  
2021-04-05T01:21:11.817Z [err] You need to install the latest version of Python.  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python Node-gyp should be able to find and use Python. If not,  
2021-04-05T01:21:11.817Z [err] gyp  
2021-04-05T01:21:11.817Z [err] ERR! find Python you can try one of the following options:  
2021-04-05T01:21:11.817Z [err] gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"  
2021-04-05T01:21:11.817Z [err] gyp  
2021-04-05T01:21:11.818Z [err] ERR! find Python (accepted by both node-gyp and npm)  
2021-04-05T01:21:11.818Z [err] gyp ERR! find Python  
2021-04-05T01:21:11.818Z [err] - Set the environment variable PYTHON  
2021-04-05T01:21:11.818Z [err] gyp ERR! find Python - Set the npm configuration variable python:  
2021-04-05T01:21:11.818Z [err] gyp  
2021-04-05T01:21:11.818Z [err] ERR! find Python npm config set python "C:\Path\To\python.exe"  
2021-04-05T01:21:11.818Z [err] gyp ERR!  
2021-04-05T01:21:11.818Z [err] find Python For more information consult the documentation at:  
2021-04-05T01:21:11.818Z [err] gyp ERR! find Python githubcom/nodejs/node-gyp#installation  
2021-04-05T01:21:11.818Z [err] gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2021-04-05T01:21:11.818Z [err] gyp  
2021-04-05T01:21:11.818Z [err] ERR! find Python  
2021-04-05T01:21:11.819Z [err] gyp  
2021-04-05T01:21:11.819Z [err] ERR! configure error  
2021-04-05T01:21:11.819Z [err] gyp  
2021-04-05T01:21:11.819Z [err] ERR! stack Error: Could not find any Python installation to use  
2021-04-05T01:21:11.819Z [err] gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:307:47)  
2021-04-05T01:21:11.819Z [err] gyp  
2021-04-05T01:21:11.819Z [err] ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:136:21)  
2021-04-05T01:21:11.819Z [err] gyp ERR! stack  
2021-04-05T01:21:11.819Z [err] at PythonFinder. (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:225:16)  
2021-04-05T01:21:11.819Z [err] gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:271:16)  
2021-04-05T01:21:11.819Z [err] gyp ERR!  
2021-04-05T01:21:11.819Z [err] stack at exithandler (child\_process.js:315:5)  
2021-04-05T01:21:11.819Z [err] gyp ERR! stack  
2021-04-05T01:21:11.819Z [err] at ChildProcess.errorhandler (child\_process.js:327:5)  
2021-04-05T01:21:11.819Z [err] gyp ERR!  
2021-04-05T01:21:11.820Z [err] stack at ChildProcess.emit (events.js:315:20)  
2021-04-05T01:21:11.820Z [err] gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:275:12)  
2021-04-05T01:21:11.820Z [err] gyp  
2021-04-05T01:21:11.820Z [err] ERR!  
2021-04-05T01:21:11.820Z [err] stack at onErrorNT (internal/child\_process.js:465:16)  
2021-04-05T01:21:11.820Z [err] gyp ERR! stack  
2021-04-05T01:21:11.820Z [err] at processTicksAndRejections (internal/process/task\_queues.js:80:21)  
2021-04-05T01:21:11.820Z [err] gyp ERR!  
2021-04-05T01:21:11.820Z [err] System Windows\_NT 10.0.19042  
2021-04-05T01:21:11.820Z [err] gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\asus\.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64\node\_sqlite3.node" "--module\_name=node\_sqlite3" "--module\_path=C:\Users\asus\.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64" "--napi\_version=7" "--node\_abi\_napi=napi" "--napi\_build\_version=0" "--node\_napi\_label=node-v83"  
2021-04-05T01:21:11.820Z [err] gyp  
2021-04-05T01:21:11.820Z [err] ERR! cwd C:\Users\asus.node-red\node\_modules\sqlite3  
2021-04-05T01:21:11.820Z [err] gyp ERR! node -v v14.15.5  
2021-04-05T01:21:11.820Z [err] gyp ERR! node-gyp -v v5.1.0  
2021-04-05T01:21:11.820Z [err] gyp ERR!  
2021-04-05T01:21:11.820Z [err] not ok  
2021-04-05T01:21:11.826Z [err] node-pre-gyp  
2021-04-05T01:21:11.826Z [err] ERR! build error  
2021-04-05T01:21:11.826Z [err] node-pre-gyp  
2021-04-05T01:21:11.826Z [err] ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\asus.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64\node\_sqlite3.node --module\_name=node\_sqlite3 --module\_path=C:\Users\asus.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64 --napi\_version=7 --node\_abi\_napi=napi --napi\_build\_version=0 --node\_napi\_label=node-v83' (1)  
2021-04-05T01:21:11.826Z [err] node-pre-gyp ERR! stack at ChildProcess. (C:\Users\asus.node-red\node\_modules\node-pre-gyp\lib\util\compile.js:83:29)  
2021-04-05T01:21:11.826Z [err] node-pre-gyp ERR!  
2021-04-05T01:21:11.826Z [err] stack at ChildProcess.emit (events.js:315:20)  
2021-04-05T01:21:11.826Z [err] node-pre-gyp ERR! stack at maybeClose (internal/child\_process.js:1048:16)  
2021-04-05T01:21:11.826Z [err] node-pre-gyp  
2021-04-05T01:21:11.826Z [err] ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:288:5)  
2021-04-05T01:21:11.826Z [err] node-pre-gyp ERR!  
2021-04-05T01:21:11.826Z [err] System Windows\_NT 10.0.19042  
2021-04-05T01:21:11.826Z [err] node-pre-gyp ERR! command  
2021-04-05T01:21:11.826Z [err] "C:\Program Files\nodejs\node.exe" "C:\Users\asus\.node-red\node\_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"  
2021-04-05T01:21:11.826Z [err] node-pre-gyp ERR! cwd C:\Users\asus.node-red\node\_modules\sqlite3  
2021-04-05T01:21:11.826Z [err] node-pre-gyp  
2021-04-05T01:21:11.826Z [err] ERR! node -v v14.15.5  
2021-04-05T01:21:11.826Z [err] node-pre-gyp ERR!  
2021-04-05T01:21:11.826Z [err] node-pre-gyp -v v0.11.0  
2021-04-05T01:21:11.826Z [err] node-pre-gyp ERR! not ok  
2021-04-05T01:21:11.827Z [out] Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\asus.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64\node\_sqlite3.node --module\_name=node\_sqlite3 --module\_path=C:\Users\asus.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64 --napi\_version=7 --node\_abi\_napi=napi --napi\_build\_version=0 --node\_napi\_label=node-v83' (1)  
2021-04-05T01:21:12.020Z [err] npm ERR! code ELIFECYCLE  
2021-04-05T01:21:12.020Z [err] npm ERR! errno 1  
2021-04-05T01:21:12.025Z [err] npm ERR! sqlite3@4.2.0 install: `node-pre-gyp install --fallback-to-build`  
2021-04-05T01:21:12.025Z [err] npm ERR! Exit status 1  
2021-04-05T01:21:12.025Z [err] npm ERR!  
2021-04-05T01:21:12.025Z [err] npm ERR! Failed at the sqlite3@4.2.0 install script.  
2021-04-05T01:21:12.025Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.  
2021-04-05T01:21:12.033Z [err]  
2021-04-05T01:21:12.033Z [err] npm ERR! A complete log of this run can be found in:  
2021-04-05T01:21:12.033Z [err] npm  
2021-04-05T01:21:12.033Z [err] ERR! C:\Users\asus\AppData\Roaming\npm-cache\_logs\2021-04-05T01\_21\_12\_027Z-debug.log  
2021-04-05T01:21:12.052Z rc=1

2021-04-05T03:00:44.633Z Install : node-red-node-sqlite 0.6.0

2021-04-05T03:00:44.949Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-node-sqlite@0.6.0  
2021-04-05T03:00:47.763Z [err] npm  
2021-04-05T03:00:47.763Z [err] WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future  
2021-04-05T03:00:50.772Z [out]  
2021-04-05T03:00:50.772Z [out] \> sqlite3@4.2.0 install C:\Users\asus.node-red\node\_modules\sqlite3  
2021-04-05T03:00:50.772Z [out] \> node-pre-gyp install --fallback-to-build  
2021-04-05T03:00:50.772Z [out]  
2021-04-05T03:00:51.158Z [err] node-pre-gyp  
2021-04-05T03:00:51.159Z [err] WARN  
2021-04-05T03:00:51.159Z [err] Using request for node-pre-gyp https download  
2021-04-05T03:00:52.437Z [err] node-pre-gyp WARN  
2021-04-05T03:00:52.437Z [err] Tried to download(403): /mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-win32-x64.tar.gz  
2021-04-05T03:00:52.437Z [err] node-pre-gyp  
2021-04-05T03:00:52.437Z [err] WARN Pre-built binaries not found for sqlite3@4.2.0 and node@14.15.5 (node-v83 ABI, unknown) (falling back to source compile with node-gyp)  
2021-04-05T03:00:53.342Z [err] gyp  
2021-04-05T03:00:53.342Z [err] ERR! find Python  
2021-04-05T03:00:53.342Z [err] gyp ERR!  
2021-04-05T03:00:53.342Z [err] find Python Python is not set from command line or npm configuration  
2021-04-05T03:00:53.342Z [err] gyp ERR!  
2021-04-05T03:00:53.342Z [err] find Python Python is not set from environment variable PYTHON  
2021-04-05T03:00:53.342Z [err] gyp ERR! find Python  
2021-04-05T03:00:53.342Z [err] checking if "python" can be used  
2021-04-05T03:00:53.342Z [err] gyp ERR! find Python - "python" is not in PATH or produced an error  
2021-04-05T03:00:53.342Z [err] gyp ERR! find Python checking if "python2" can be used  
2021-04-05T03:00:53.342Z [err] gyp  
2021-04-05T03:00:53.342Z [err] ERR! find Python - "python2" is not in PATH or produced an error  
2021-04-05T03:00:53.342Z [err] gyp  
2021-04-05T03:00:53.343Z [err] ERR! find Python checking if "python3" can be used  
2021-04-05T03:00:53.343Z [err] gyp ERR!  
2021-04-05T03:00:53.343Z [err] find Python - "python3" is not in PATH or produced an error  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python  
2021-04-05T03:00:53.343Z [err] checking if the py launcher can be used to find Python 2  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python - "py.exe" is not in PATH or produced an error  
2021-04-05T03:00:53.343Z [err] gyp  
2021-04-05T03:00:53.343Z [err] ERR! find Python checking if Python is C:\Python27\python.exe  
2021-04-05T03:00:53.343Z [err] gyp ERR!  
2021-04-05T03:00:53.343Z [err] find Python - "C:\Python27\python.exe" could not be run  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python checking if Python is C:\Python37\python.exe  
2021-04-05T03:00:53.343Z [err] gyp  
2021-04-05T03:00:53.343Z [err] ERR! find Python - "C:\Python37\python.exe" could not be run  
2021-04-05T03:00:53.343Z [err] gyp ERR!  
2021-04-05T03:00:53.343Z [err] find Python  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python You need to install the latest version of Python.  
2021-04-05T03:00:53.343Z [err] gyp  
2021-04-05T03:00:53.343Z [err] ERR! find Python Node-gyp should be able to find and use Python. If not,  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python  
2021-04-05T03:00:53.343Z [err] you can try one of the following options:  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"  
2021-04-05T03:00:53.343Z [err] gyp  
2021-04-05T03:00:53.343Z [err] ERR! find Python (accepted by both node-gyp and npm)  
2021-04-05T03:00:53.343Z [err] gyp ERR!  
2021-04-05T03:00:53.343Z [err] find Python - Set the environment variable PYTHON  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python - Set the npm configuration variable python:  
2021-04-05T03:00:53.343Z [err] gyp  
2021-04-05T03:00:53.343Z [err] ERR! find Python npm config set python "C:\Path\To\python.exe"  
2021-04-05T03:00:53.343Z [err] gyp ERR!  
2021-04-05T03:00:53.343Z [err] find Python For more information consult the documentation at:  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python [GitHub - nodejs/node-gyp: Node.js native addon build tool](https://github.com/nodejs/node-gyp#installation)  
2021-04-05T03:00:53.343Z [err] gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2021-04-05T03:00:53.343Z [err] gyp ERR!  
2021-04-05T03:00:53.343Z [err] find Python  
2021-04-05T03:00:53.343Z [err] gyp ERR! configure error  
2021-04-05T03:00:53.344Z [err] gyp ERR! stack Error: Could not find any Python installation to use  
2021-04-05T03:00:53.344Z [err] gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:307:47)  
2021-04-05T03:00:53.344Z [err] gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:136:21)  
2021-04-05T03:00:53.344Z [err] gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:225:16)  
2021-04-05T03:00:53.344Z [err] gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:271:16)  
2021-04-05T03:00:53.344Z [err] gyp ERR!  
2021-04-05T03:00:53.344Z [err] stack  
2021-04-05T03:00:53.344Z [err] at exithandler (child\_process.js:315:5)  
2021-04-05T03:00:53.344Z [err] gyp ERR! stack  
2021-04-05T03:00:53.344Z [err] at ChildProcess.errorhandler (child\_process.js:327:5)  
2021-04-05T03:00:53.344Z [err] gyp ERR!  
2021-04-05T03:00:53.344Z [err] stack at ChildProcess.emit (events.js:315:20)  
2021-04-05T03:00:53.344Z [err] gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:275:12)  
2021-04-05T03:00:53.344Z [err] gyp  
2021-04-05T03:00:53.344Z [err] ERR! stack at onErrorNT (internal/child\_process.js:465:16)  
2021-04-05T03:00:53.344Z [err] gyp ERR!  
2021-04-05T03:00:53.344Z [err] stack at processTicksAndRejections (internal/process/task\_queues.js:80:21)  
2021-04-05T03:00:53.344Z [err] gyp ERR! System Windows\_NT 10.0.19042  
2021-04-05T03:00:53.344Z [err] gyp  
2021-04-05T03:00:53.344Z [err] ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\asus\.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64\node\_sqlite3.node" "--module\_name=node\_sqlite3" "--module\_path=C:\Users\asus\.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64" "--napi\_version=7" "--node\_abi\_napi=napi" "--napi\_build\_version=0" "--node\_napi\_label=node-v83"  
2021-04-05T03:00:53.344Z [err] gyp ERR! cwd C:\Users\asus.node-red\node\_modules\sqlite3  
2021-04-05T03:00:53.344Z [err] gyp ERR! node -v  
2021-04-05T03:00:53.344Z [err] v14.15.5  
2021-04-05T03:00:53.344Z [err] gyp ERR! node-gyp -v v5.1.0  
2021-04-05T03:00:53.344Z [err] gyp  
2021-04-05T03:00:53.344Z [err] ERR! not ok  
2021-04-05T03:00:53.351Z [err] node-pre-gyp ERR!  
2021-04-05T03:00:53.352Z [err] build error  
2021-04-05T03:00:53.352Z [err] node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\asus.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64\node\_sqlite3.node --module\_name=node\_sqlite3 --module\_path=C:\Users\asus.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64 --napi\_version=7 --node\_abi\_napi=napi --napi\_build\_version=0 --node\_napi\_label=node-v83' (1)  
2021-04-05T03:00:53.352Z [err] node-pre-gyp  
2021-04-05T03:00:53.352Z [err] ERR! stack at ChildProcess. (C:\Users\asus.node-red\node\_modules\node-pre-gyp\lib\util\compile.js:83:29)  
2021-04-05T03:00:53.352Z [err] node-pre-gyp ERR! stack  
2021-04-05T03:00:53.352Z [err] at ChildProcess.emit (events.js:315:20)  
2021-04-05T03:00:53.352Z [err] node-pre-gyp ERR! stack at maybeClose (internal/child\_process.js:1048:16)  
2021-04-05T03:00:53.352Z [err] node-pre-gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:288:5)  
2021-04-05T03:00:53.353Z [err] node-pre-gyp ERR! System Windows\_NT 10.0.19042  
2021-04-05T03:00:53.353Z [err] node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\asus\.node-red\node\_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"  
2021-04-05T03:00:53.353Z [err] node-pre-gyp ERR! cwd C:\Users\asus.node-red\node\_modules\sqlite3  
2021-04-05T03:00:53.353Z [err] node-pre-gyp ERR!  
2021-04-05T03:00:53.353Z [err] node -v v14.15.5  
2021-04-05T03:00:53.353Z [err] node-pre-gyp ERR!  
2021-04-05T03:00:53.353Z [err] node-pre-gyp -v v0.11.0  
2021-04-05T03:00:53.353Z [err] node-pre-gyp ERR!  
2021-04-05T03:00:53.353Z [err] not ok  
2021-04-05T03:00:53.354Z [out] Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\asus.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64\node\_sqlite3.node --module\_name=node\_sqlite3 --module\_path=C:\Users\asus.node-red\node\_modules\sqlite3\lib\binding\node-v83-win32-x64 --napi\_version=7 --node\_abi\_napi=napi --napi\_build\_version=0 --node\_napi\_label=node-v83' (1)  
2021-04-05T03:00:53.574Z [err] npm ERR!  
2021-04-05T03:00:53.574Z [err] code ELIFECYCLE  
2021-04-05T03:00:53.574Z [err] npm  
2021-04-05T03:00:53.574Z [err] ERR! errno 1  
2021-04-05T03:00:53.578Z [err] npm ERR! sqlite3@4.2.0 install: `node-pre-gyp install --fallback-to-build`  
2021-04-05T03:00:53.578Z [err] npm  
2021-04-05T03:00:53.578Z [err] ERR! Exit status 1  
2021-04-05T03:00:53.578Z [err] npm ERR!  
2021-04-05T03:00:53.578Z [err] npm ERR! Failed at the sqlite3@4.2.0 install script.  
2021-04-05T03:00:53.578Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.  
2021-04-05T03:00:53.586Z [err]  
2021-04-05T03:00:53.586Z [err] npm ERR! A complete log of this run can be found in:  
2021-04-05T03:00:53.586Z [err] npm ERR! C:\Users\asus\AppData\Roaming\npm-cache\_logs\2021-04-05T03\_00\_53\_580Z-debug.log  
2021-04-05T03:00:53.608Z rc=1.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [5 April 2021 05:27 UTC](https://discourse.nodered.org/t/unable-to-install-node-sqlite/43671/2 "2021-04-05T05:27:28Z")

</div>

Hi welcome to the forum

This has been asked and answered many times.

Sqlite need to be built.

And as your log says

> [@TriAtma-D](#):
>
> 2021-04-05T01:21:11.817Z [err] You need to install the latest version of Python

> [@TriAtma-D](#):
>
> 2021-04-05T01:21:11.819Z [err] ERR! stack Error: Could not find any Python installation to use

... Something is missing.

You need the necessary suite of build tools installed before sqlite can be added.

See the npm install command described in this thread ..

> [@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)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [4 June 2021 05:28 UTC](https://discourse.nodered.org/t/unable-to-install-node-sqlite/43671/3 "2021-06-04T05:28:02Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
