Skip to content

npm install sqlite3@3.1.4 failed #1492

@shaparak631

Description

@shaparak631

hello.
I am trying to import data from localhost but getting this error

my node version is latest 16.7.0
I tested 14.17.5 LTS

can anyone help? I'd be appreciated
2021-08-22_143608

C:\gekko-stable>npm install sqlite3@3.1.4
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'gekko@0.0.9',
npm WARN EBADENGINE   required: { node: '0.10.x' },
npm WARN EBADENGINE   current: { node: 'v16.7.0', npm: '7.21.0' }
npm WARN EBADENGINE }
npm ERR! code 1
npm ERR! path C:\gekko-stable\node_modules\sqlite3
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\gekko-stable\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\gekko-stable\node_modules\sqlite3\lib\binding\node-v93-win32-x64' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.6.28
npm ERR! node-pre-gyp info using node@16.7.0 | win32 | x64
npm ERR! node-pre-gyp info check checked for "C:\gekko-stable\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.4 and node@16.7.0 (node-v93 ABI) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Tried to download: https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.4/node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.4 and node@16.7.0 (node-v93 ABI) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http Connection closed while downloading tarball file
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@16.7.0 | win32 | x64
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@16.7.0 | win32 | x64
npm ERR! gyp info ok
npm ERR! gyp info ok
npm ERR! gypgyp  infoinfo it worked if it ends with  ok
npm ERR! it worked if it ends with ok
npm ERR! gypgyp  infoinfo  usingusing node-gyp@7.1.2
npm ERR!  node-gyp@7.1.2
npm ERR! gyp gypinfo  using node@16.7.0 | win32 | x64
npm ERR! info using node@16.7.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.9.6 found at "C:\Users\unique\AppData\Local\Programs\Python\Python39-32\python.exe"
npm ERR! gyp info find Python using Python version 3.9.6 found at "C:\Users\unique\AppData\Local\Programs\Python\Python39-32\python.exe"
npm ERR! gypgyp http  GEThttp https://nodejs.org/download/release/v16.7.0/node-v16.7.0-headers.tar.gz
npm ERR!  GET https://nodejs.org/download/release/v16.7.0/node-v16.7.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.7.0/node-v16.7.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.7.0/node-v16.7.0-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v16.7.0/SHASUMS256.txt
npm ERR! gyp http GET https://nodejs.org/download/release/v16.7.0/win-x86/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v16.7.0/win-x64/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v16.7.0/win-arm64/node.lib
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.7.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.7.0/win-x64/node.lib
npm ERR! gyp http 404 https://nodejs.org/download/release/v16.7.0/win-arm64/node.lib
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.7.0/win-x86/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v16.7.0/SHASUMS256.txt
npm ERR! gyp http GET https://nodejs.org/download/release/v16.7.0/win-arm64/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v16.7.0/win-x64/node.lib
npm ERR! gyp http GET https://nodejs.org/download/release/v16.7.0/win-x86/node.lib
npm ERR! gyp http 404 https://nodejs.org/download/release/v16.7.0/win-arm64/node.lib
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.7.0/win-x86/node.lib
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.7.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v16.7.0/win-x64/node.lib
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack     at VisualStudioFinder.fail (C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
npm ERR! gyp ERR! stack     at C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
npm ERR! gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
npm ERR! gyp ERR! stack     at C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
npm ERR! gyp ERR! stack     at C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
npm ERR! gyp ERR! stack     at C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
npm ERR! gyp ERR! stack     at C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:404:5)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1064:16)
npm ERR! gyp ERR! System Windows_NT 10.0.18363
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\unique\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\gekko-stable\\node_modules\\sqlite3\\lib\\binding\\node-v93-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\gekko-stable\\node_modules\\sqlite3\\lib\\binding\\node-v93-win32-x64"
npm ERR! gyp ERR! cwd C:\gekko-stable\node_modules\sqlite3
npm ERR! gyp ERR! node -v v16.7.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\unique\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\gekko-stable\node_modules\sqlite3\lib\binding\node-v93-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\gekko-stable\node_modules\sqlite3\lib\binding\node-v93-win32-x64' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\gekko-stable\node_modules\sqlite3\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1064:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.18363
npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\gekko-stable\\node_modules\\sqlite3\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd C:\gekko-stable\node_modules\sqlite3
npm ERR! node-pre-gyp ERR! node -v v16.7.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.6.28
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\unique\AppData\Local\npm-cache\_logs\2021-08-22T10_26_17_290Z-debug.log

C:\gekko-stable>n

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions