Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlite Installation error log #10

Open
ItsAndreZu opened this issue May 4, 2021 · 2 comments
Open

Sqlite Installation error log #10

ItsAndreZu opened this issue May 4, 2021 · 2 comments
Labels
Sqlite Problems in installing Sqlite node in Node-RED

Comments

@ItsAndreZu
Copy link

ItsAndreZu commented May 4, 2021


...
2021-05-04T10:24:45.654Z Install : node-red-node-sqlite 0.6.0

2021-05-04T10:24:45.980Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2021-05-04T10:24:49.243Z [err] npm
2021-05-04T10:24:49.243Z [err] WARN deprecated [email protected]: 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-05-04T10:24:51.521Z [err] npm ERR! code
2021-05-04T10:24:51.521Z [err] 1
2021-05-04T10:24:51.521Z [err] npm ERR! path C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:24:51.523Z [err] npm ERR! command failed
2021-05-04T10:24:51.523Z [err] npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
2021-05-04T10:24:51.523Z [err] npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp info it worked if it ends with ok
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp info using [email protected]
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp info using [email protected] | win32 | x64
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp info check checked for "C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node" (not found)
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
2021-05-04T10:24:51.523Z [err] npm
2021-05-04T10:24:51.524Z [err] ERR! node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info it worked if it ends with ok
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info using [email protected]
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info using [email protected] | win32 | x64
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info ok
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info it worked if it ends with ok
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info using [email protected]
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info using [email protected] | win32 | x64
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if "python3" can be used
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if "python" can be used
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if "python2" can be used
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "python2" is not in PATH or produced an error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Python37\python.exe
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "C:\Python37\python.exe" could not be run
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Python27\python.exe
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "C:\Python27\python.exe" could not be run
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python **********************************************************
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python You need to install the latest version of Python.
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python you can try one of the following options:
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python For more information consult the documentation at:
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python **********************************************************
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! configure error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at PythonFinder.fail (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:302:47)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at PythonFinder. (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:200:18)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:266:16)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at exithandler (node:child_process:333:5)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:345:5)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:480:16)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! System Windows_NT 10.0.19042
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\ndrea\.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\Users\ndrea\.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! cwd C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! node -v v16.0.0
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! node-gyp -v v7.1.2
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! not ok
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! build error
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack at ChildProcess. (C:\Users\ndrea.node-red\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:365:28)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19042
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\ndrea\.node-red\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! cwd C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! node -v v16.0.0
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! not ok
2021-05-04T10:24:51.531Z [err]
2021-05-04T10:24:51.531Z [err] npm ERR!
2021-05-04T10:24:51.531Z [err] A complete log of this run can be found in:
2021-05-04T10:24:51.531Z [err] npm ERR! C:\Users\ndrea\AppData\Local\npm-cache_logs\2021-05-04T10_24_51_524Z-debug.log
2021-05-04T10:24:51.547Z rc=1
...

@ItsAndreZu
Copy link
Author

...
2021-05-04T10:24:45.654Z Install : node-red-node-sqlite 0.6.0

2021-05-04T10:24:45.980Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2021-05-04T10:24:49.243Z [err] npm
2021-05-04T10:24:49.243Z [err] WARN deprecated [email protected]: 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-05-04T10:24:51.521Z [err] npm ERR! code
2021-05-04T10:24:51.521Z [err] 1
2021-05-04T10:24:51.521Z [err] npm ERR! path C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:24:51.523Z [err] npm ERR! command failed
2021-05-04T10:24:51.523Z [err] npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
2021-05-04T10:24:51.523Z [err] npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp info it worked if it ends with ok
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp info using [email protected]
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp info using [email protected] | win32 | x64
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp info check checked for "C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node" (not found)
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:24:51.523Z [err] npm ERR! node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
2021-05-04T10:24:51.523Z [err] npm
2021-05-04T10:24:51.524Z [err] ERR! node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info it worked if it ends with ok
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info using [email protected]
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info using [email protected] | win32 | x64
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info ok
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info it worked if it ends with ok
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info using [email protected]
2021-05-04T10:24:51.524Z [err] npm ERR! gyp info using [email protected] | win32 | x64
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if "python3" can be used
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if "python" can be used
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if "python2" can be used
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "python2" is not in PATH or produced an error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Python37\python.exe
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "C:\Python37\python.exe" could not be run
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if Python is C:\Python27\python.exe
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "C:\Python27\python.exe" could not be run
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python **********************************************************
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python You need to install the latest version of Python.
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python you can try one of the following options:
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python For more information consult the documentation at:
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python **********************************************************
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! find Python
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! configure error
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at PythonFinder.fail (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:302:47)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at PythonFinder. (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:200:18)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:266:16)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at exithandler (node:child_process:333:5)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:345:5)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:480:16)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! System Windows_NT 10.0.19042
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\ndrea\.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\Users\ndrea\.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! cwd C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! node -v v16.0.0
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! node-gyp -v v7.1.2
2021-05-04T10:24:51.524Z [err] npm ERR! gyp ERR! not ok
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! build error
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack at ChildProcess. (C:\Users\ndrea.node-red\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:365:28)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19042
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\ndrea\.node-red\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! cwd C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! node -v v16.0.0
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
2021-05-04T10:24:51.524Z [err] npm ERR! node-pre-gyp ERR! not ok
2021-05-04T10:24:51.531Z [err]
2021-05-04T10:24:51.531Z [err] npm ERR!
2021-05-04T10:24:51.531Z [err] A complete log of this run can be found in:
2021-05-04T10:24:51.531Z [err] npm ERR! C:\Users\ndrea\AppData\Local\npm-cache_logs\2021-05-04T10_24_51_524Z-debug.log
2021-05-04T10:24:51.547Z rc=1


2021-05-04T10:39:55.215Z Install : node-red-node-sqlite 0.6.0

2021-05-04T10:39:55.525Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2021-05-04T10:39:58.263Z [err] npm
2021-05-04T10:39:58.263Z [err] WARN deprecated [email protected]: 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-05-04T10:40:07.171Z [err] npm
2021-05-04T10:40:07.171Z [err] ERR! code 1
2021-05-04T10:40:07.171Z [err] npm ERR! path C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] command failed
2021-05-04T10:40:07.173Z [err] npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! node-pre-gyp info it worked if it ends with ok
2021-05-04T10:40:07.173Z [err] npm ERR! node-pre-gyp info using [email protected]
2021-05-04T10:40:07.173Z [err] npm ERR! node-pre-gyp info using [email protected] | win32 | x64
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] node-pre-gyp WARN Using request for node-pre-gyp https download
2021-05-04T10:40:07.173Z [err] npm ERR! node-pre-gyp info check checked for "C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node" (not found)
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:40:07.173Z [err] npm ERR! node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:40:07.173Z [err] npm ERR! node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v93-win32-x64.tar.gz
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp info it worked if it ends with ok
2021-05-04T10:40:07.173Z [err] npm ERR! gyp info using [email protected]
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! gyp info using [email protected] | win32 | x64
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp info ok
2021-05-04T10:40:07.173Z [err] npm ERR! gyp info it worked if it ends with ok
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! gyp info using [email protected]
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp info using [email protected] | win32 | x64
2021-05-04T10:40:07.173Z [err] npm ERR! gyp info find Python using Python version 3.9.5 found at "C:\Users\ndrea\AppData\Local\Programs\Python\Python39\python.exe"
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! gyp http GET https://nodejs.org/download/release/v16.0.0/node-v16.0.0-headers.tar.gz
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp http 200 https://nodejs.org/download/release/v16.0.0/node-v16.0.0-headers.tar.gz
2021-05-04T10:40:07.173Z [err] npm ERR! gyp http GET https://nodejs.org/download/release/v16.0.0/SHASUMS256.txt
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! gyp http GET https://nodejs.org/download/release/v16.0.0/win-x86/node.lib
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp http GET https://nodejs.org/download/release/v16.0.0/win-x64/node.lib
2021-05-04T10:40:07.173Z [err] npm ERR! gyp http GET https://nodejs.org/download/release/v16.0.0/win-arm64/node.lib
2021-05-04T10:40:07.173Z [err] npm ERR! gyp http 200 https://nodejs.org/download/release/v16.0.0/SHASUMS256.txt
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! gyp http 404 https://nodejs.org/download/release/v16.0.0/win-arm64/node.lib
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp http 200 https://nodejs.org/download/release/v16.0.0/win-x86/node.lib
2021-05-04T10:40:07.173Z [err] npm ERR! gyp http 200 https://nodejs.org/download/release/v16.0.0/win-x64/node.lib
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! gyp ERR! find VS
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp ERR! find VS msvs_version not set from command line or npm config
2021-05-04T10:40:07.173Z [err] npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! gyp ERR! find VS checking VS2019 (16.9.31105.61) found at:
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
2021-05-04T10:40:07.173Z [err] npm ERR! gyp ERR! find VS - found "Visual Studio C++ core features"
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.173Z [err] ERR! gyp ERR! find VS - found VC++ toolset: v142
2021-05-04T10:40:07.173Z [err] npm ERR!
2021-05-04T10:40:07.173Z [err] gyp ERR! find VS - missing any Windows SDK
2021-05-04T10:40:07.173Z [err] npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
2021-05-04T10:40:07.173Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! gyp ERR! find VS looking for Visual Studio 2015
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] gyp ERR! find VS - not found
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! find VS
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! gyp ERR! find VS **************************************************************
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] gyp ERR! find VS You need to install the latest version of Visual Studio
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! gyp ERR! find VS For more information consult the documentation at:
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! gyp ERR! find VS **************************************************************
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] gyp ERR! find VS
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! configure error
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] gyp ERR! stack at VisualStudioFinder.fail (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] gyp ERR! stack at C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! gyp ERR! stack at C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] gyp ERR! stack at C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! stack at C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! stack at C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:333:5)
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:365:28)
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1067:16)
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! System Windows_NT 10.0.19042
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\Users\ndrea\.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\Users\ndrea\.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v93"
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! gyp ERR! cwd C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] gyp ERR! node -v v16.0.0
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! node-gyp -v v7.1.2
2021-05-04T10:40:07.174Z [err] npm ERR! gyp ERR! not ok
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! node-pre-gyp ERR! build error
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\ndrea\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\ndrea.node-red\node_modules\sqlite3\lib\binding\node-v93-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
2021-05-04T10:40:07.174Z [err] npm ERR! node-pre-gyp ERR! stack at ChildProcess. (C:\Users\ndrea.node-red\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:365:28)
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16)
2021-05-04T10:40:07.174Z [err] npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! node-pre-gyp ERR! System Windows_NT 10.0.19042
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\ndrea\.node-red\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] node-pre-gyp ERR! cwd C:\Users\ndrea.node-red\node_modules\sqlite3
2021-05-04T10:40:07.174Z [err] npm ERR! node-pre-gyp ERR! node -v v16.0.0
2021-05-04T10:40:07.174Z [err] npm
2021-05-04T10:40:07.174Z [err] ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
2021-05-04T10:40:07.174Z [err] npm ERR!
2021-05-04T10:40:07.174Z [err] node-pre-gyp ERR! not ok
2021-05-04T10:40:07.182Z [err]
2021-05-04T10:40:07.182Z [err] npm ERR!
2021-05-04T10:40:07.183Z [err] A complete log of this run can be found in:
2021-05-04T10:40:07.183Z [err] npm ERR! C:\Users\ndrea\AppData\Local\npm-cache_logs\2021-05-04T10_40_07_175Z-debug.log
2021-05-04T10:40:07.191Z rc=1
...

@ItsAndreZu
Copy link
Author

The first log was before installing python, the second is after the installation and they seem equal at first look.
My guess is that I have to "activate" it from the cdm

@vongomben vongomben added the Sqlite Problems in installing Sqlite node in Node-RED label May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sqlite Problems in installing Sqlite node in Node-RED
Projects
None yet
Development

No branches or pull requests

2 participants