Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
221 views
in Technique[技术] by (71.8m points)

How do i install Sqlite 3 and Sequelize on a project manually?

I've been trying to use these programs but it won't install. I get this message when trying to install sqlite 3. And when i do "node ." it just tells me to install it manually and i looked up a tutorial but it wasn't JUST for discord.

    C:Users
oserOneDriveDesktopROSYBREE>npm install sqlite3
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported

> [email protected] install C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  nothing.c
  win_delay_load_hook.cc
  nothing.vcxproj -> C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3uildRelease\nothing.lib
  unpack_sqlite_dep
  The system cannot find the path specified.
C:Program Files (x86)Microsoft Visual Studio2017BuildToolsCommon7IDEVCVCTargetsMicrosoft.CppCommon.targets(209
,5): error MSB6006: "cmd.exe" exited with code 1. [C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3uild
depsaction_before_build.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:Program Files (x86)Microsoft Visual Studio2017BuildToolsMSBuild15.0BinMSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gyplibuild.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19041
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallback-to-build" "--module=C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3\lib\binding\napi-v6-win32-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
gyp ERR! cwd C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3
gyp ERR! node -v v14.15.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:Program Files
odejs
ode.exe C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypin
ode-gyp.js build --fallback-to-build --module=C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3libinding
api-v6-win32-x64
ode_sqlite3.node --module_name=node_sqlite3 --module_path=C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3libinding
api-v6-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:Users
oserOneDriveDesktopROSYBREE
ode_modules
ode-pre-gyplibutilcompile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Windows_NT 10.0.19041
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3
node-pre-gyp ERR! node -v v14.15.3
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'C:Program Files
odejs
ode.exe C:Program Files
odejs
ode_modules
pm
ode_modules
ode-gypin
ode-gyp.js build --fallback-to-build --module=C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3libinding
api-v6-win32-x64
ode_sqlite3.node --module_name=node_sqlite3 --module_path=C:Users
oserOneDriveDesktopROSYBREE
ode_modulessqlite3libinding
api-v6-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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!     C:Users
oserAppDataRoaming
pm-cache\_logs2021-01-10T19_45_31_708Z-debug.log

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...