執行伺服器時報錯提示sqlite3沒有下載,ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
問題
執行伺服器報錯:
- [email protected] install:
node-pre-gyp install --fallback-to-build
- 直接下載sqlite3包時會報錯,棧溢位
原因
- 伺服器缺少 sqlite3 的包
- sqlite3 這個包缺少依賴
解決
執行以下程式碼:
先將兩個包解除安裝乾淨:
npm uninstall node-pre-gyp
npm uninstall sqlite3
再將包下載回來:npm i node-pre-gyp -g
npm i sqlite3 -s
- 再執行伺服器即可正常啟動
報錯文:
-
node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node
-
gyp ERR! build error
-
window下提示“node-pre-gyp不是內部或外部命令”
截圖:
相關推薦
執行伺服器時報錯提示sqlite3沒有下載,ERR! sqlite3@5.0.0 install: `node-pre-gyp install --fallback-to-build`
問題 執行伺服器報錯: [email protected] install: node-pre-gyp install --fallback-to-build直接下載sqlite3包時會報錯,棧溢位
jar包在本地能執行 打包上伺服器後-jar命令執行後報錯資料庫driver沒有找到
技術標籤:javamysqllinux 巴拉巴拉的就不看了 最後報錯org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class 就
每次解除安裝Xcode 11,重灌 缺少libstdc++.6.0.9的解決方案、執行模擬器時報錯問題
申明,這個是轉載於 https://www.codeleading.com/article/61772375451/ 技術標籤:xcodeioslibstdc++.6.0.9
Intel Realsense D435 開始執行啟動時報錯:RuntimeError: Couldn‘t resolve requests 原因及解決辦法
技術標籤:pythonbug Question Intel Realsense D435 開始執行啟動時報錯:RuntimeError: Couldn’t resolve requests 利用d435 rgb frame拍攝影象時出現如下錯誤:
Linux執行檔案時報錯:bash: $‘\r‘: command not found
原文地址:https://blog.csdn.net/taojijisky/article/details/78969980 問題描述 在Windows下編寫好sh檔案後,在Linux下執行會報錯:bash: $’\\r’: command not found
在docker中執行ElasticSearch時報錯:docker: invalid reference format: repository name must be lowercase.
遇到問題 在用docker啟動ElasticSearch容器時輸入 docker run --name elasticsearch -p 9200:9200 -p 9300:9300\\
Docker安裝Mysql掛載目錄時報錯:Entrypoint script for MySQL Server 5.7.31-1debian10 started.
有幾種方法可以儲存在Docker容器中執行的應用程式使用的資料。 讓Docker管理您的資料庫資料的儲存,通過寫入資料庫檔案到磁碟上的主機系統使用自己的內部卷管理。這是預設設定,對使用者來說很簡單而且相當透明。缺
android studio 3.6.1匯入專案報錯提示無法下載classpath裡的內容
報錯: Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ‘:classpath\'.
jfinal執行時報錯分析java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
這裡解釋一下,我用maven jetty執行沒啥問題的專案,當我切換tomcat時候出現如下錯誤。
執行Docker命令,提示沒有許可權的對應方法
Docker安裝完成後,在命令列執行docker命令的時候,會提示以下錯誤資訊 $ docker image lsGot permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http:
Mac下Python執行時報錯:Class QMacAutoReleasePoolTracker is implemented in both /.../site-packages/PyQt5/... and /.../site-packages/cv2/...
完整報錯如下: objc[22334]: Class QMacAutoReleasePoolTracker is implemented in both /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions
python 伺服器執行程式碼報錯ModuleNotFoundError的解決辦法
一、問題描述 一段 Python 程式碼在本地的 IDE 上執行正常,部署到伺服器執行後,出現了 ModuleNotFoundError: No module named ‘xxx\' 錯誤。
idea中執行main方法時報錯找不到jair包 Error:(4, 38) java: 程式包org.springframework.stereotype不存在
1、報錯資訊: 問題描述:在任何類中,執行main 方法時 都會編譯整個專案,然後肯定會報錯。
Python 更換資料來源;Python安裝numpy,pandas慢,超時報錯,下載不了的解決方法(更新,親測可行)
Python 更換資料來源;Python安裝numpy,pandas慢,超時報錯,下載不了的解決方法(更新,親測可行)
Eclipse中為專案配置jdk和伺服器以及建立jsp檔案時報錯解決方案
提示:文章寫完後,目錄可以自動生成,如何生成可參考右邊的幫助文件 文章目錄
執行docker pull hyperledger/caliper時報錯
執行docker pull hyperledger/caliper時報錯 qwe@ubuntu:~$ docker pull hyperledger/caliper Using default tag: latest
編譯 pycaffe時報錯:fatal error: numpy/arrayobject.h沒有那個檔案或目錄
編譯 pycaffe時報錯:fatal error: numpy/arrayobject.h沒有那個檔案或目錄 其實numpy已經是安裝的,anaconda2裡面有,python中import numpy也沒有問題,但就是在此處報錯,解決方法:
使用react終端執行npm start時報錯
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! my-app@0.1.0 start: `react-scripts start` npm ERR! Exit status 1
vue執行時報錯Error from chokidar
原文部落格地址 Error from chokidar (/home/youyou/文件/vue/vuetask01/node_modules/lodash): Error: ENOSPC: System limit for number of file watchers reached, watch \'/home/youyou/文件/vue/vuetask01/node_
Python在執行開啟檔案時報錯:UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x80 in position 28: xxx,解決方法!
技術標籤:python_bugpython Python在執行開啟檔案時 wed=open(\'F:/python/學習/文件操作1.txt\',\'r\')