我總是嘗試通過命令行安裝東西。我最近安裝了Node(最新版本,版本號爲9.20)。我正在嘗試安裝/設置GECKO進行汽車交易。它需要安裝SQLite3。我正在關注的方向設置壁虎從這個鏈接:SQLITE 3安裝錯誤
https://www.youtube.com/watch?v=R68IwVujju8
和我在一步就是,你在命令行中鍵入:NPM =安裝
然而,它開始下載後,一些文件達到幾個「ERR!」聲明和切斷。下面是輸出:
(PS我也只用「故宮安裝」,我已經使用「故宮安裝sqlite3的」試過,都是給中端同樣的錯誤嘗試
C:\用戶\ fable187 \下載\壁虎穩定\壁虎穩定> NPM安裝sqlite3的
[email protected] install C:\Users\fable187\Downloads\gekko-stable\gekko-stable\node_modules\sqlite3 node-pre-gyp install --fallback-to-build
節點預GYP ERR試圖下載(403):https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v59-win32-x64.tar.gz 節點預GYP ERR預建的二進制文件!找不到[email protected]和[email protected](node-v59 ABI)(回落到用node-gyp編譯的源代碼)
C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3>如果未定義npm_config_node_gyp(節點「C:\ Program Files \ nodejs \ node_modules \ npm \ bin \ node-gyp-bin \ .... \ node_modules \ node-gyp \ bin \ node-gyp.js「clean)else(node」「clean)
C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3>如果未定義npm_config_node_gyp(節點「C:\ Program Files \ nodejs \ node_modules \ npm \ bin \ node-gyp-bin \ .... \ node_modules \ node-gyp \ bin \ node-gyp.js」配置 - 下降到生成--module = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node-v59-win32-x64 \ node_sqlite3.node --module_name = node_sqlite3 --module_path = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node-v59-win32-x64 --msvs_version = 2017)else(node「」configure - fallback-to-build --module = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node-v59-win32-x64 \ node_sqlite3.node --module_name = node_sqlite3 --module_path = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node-v59-win32-x64 --msvs_version = 2017) gyp ERR!配置錯誤 gyp ERR!堆棧錯誤:找不到Python可執行文件「C:\ Users \ fable187 \ AppData \ Local \ Programs \ Python \ Python35 \ python.EXE」,您可以設置PYTHON env變量。 gyp ERR!在PythonFinder.failNoPython(C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ configure.js:483:19)上堆棧 gyp ERR!在PythonFinder中堆棧。 (C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ configure.js:508:16) gyp ERR!堆棧位於C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ graceful-fs \ polyfills.js:284:29 gyp ERR!堆棧在FSReqWrap.oncomplete(fs.js:166:21) gyp ERR!系統Windows_NT 10.0.16299 gyp ERR!命令「C:\ Program Files \ nodejs \ node.exe」「C:\ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ bin \ node-gyp.js」「configure」「--fallback-to 「--module = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node-v59-win32-x64 \ node_sqlite3.node」「--module_name = node_sqlite3「」--module_path = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node-v59-win32-x64「」--msvs_version = 2017「 gyp ERR ! cwd C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 gyp ERR! node -v v9.2.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR!不好 node-pre-gyp ERR!生成錯誤 node-pre-gyp ERR!堆棧錯誤:無法執行'node-gyp.cmd configure - 下降生成--module = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node -v59-win32-x64 \ node_sqlite3.node --module_name = node_sqlite3 --module_path = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node-v59-win32- x64 --msvs_version = 2017'(1) node-pre-gyp ERR!堆棧在ChildProcess。 (C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ node_modules \ node-pre-gyp \ lib \ util \ compile.js:83:29) node-pre-gyp ERR!堆棧在ChildProcess.emit(events.js:159:13) node-pre-gyp ERR! stack at maybeClose(internal/child_process.js:943:16) node-pre-gyp ERR!堆棧在Process.ChildProcess._handle.onexit(internal/child_process.js:220:5) node-pre-gyp ERR!系統Windows_NT 10.0.16299 node-pre-gyp ERR!命令「C:\ Program Files \ nodejs \ node.exe」「C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ node_modules \ node-pre-gyp \ bin \ node-pre- gyp「」install「」 - fallback-to-build「 node-pre-gyp ERR! cwd C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 node-pre-gyp ERR! node -v v9.2.0 node-pre-gyp ERR! node-pre-gyp -v v0.6.38 node-pre-gyp ERR!不正確 未能執行'node-gyp.cmd configure - 下降到構建--module = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node -v59-win32-x64 \ node_sqlite3.node --module_name = node_sqlite3 --module_path = C:\ Users \ fable187 \ Downloads \ gekko-stable \ gekko-stable \ node_modules \ sqlite3 \ lib \ binding \ node-v59-win32- x64 --msvs_version = 2017'(1) npm ERR!代碼ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected]安裝:node-pre-gyp install --fallback-to-build
npm ERR!退出狀態1 npm ERR! npm ERR!在[email protected]安裝腳本失敗。 npm ERR!這可能不是npm的問題。上面可能還有其他日誌記錄輸出。
npm ERR!此運行的完整日誌可在以下位置找到: npm ERR! C:\ Users \用戶fable187 \應用程序數據\漫遊\ NPM-cache_logs \ 2017-12-03T08_00_31_371Z-的debug.log
C:\ Users \用戶fable187 \下載\壁虎穩定\壁虎穩定>