小编Kev*_*vin的帖子

无法使用 npm 安装 sqlite3 依赖项

我正在运行 Pop!_OS (Ubuntu) 20.04。当我尝试将 sqlite3 添加到我的 Nodejs 项目的依赖项中时,我收到了这面警告墙:

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> sqlite3@5.0.1 install /home/kevinlopez/Documents/Projects/wsky-be/node_modules/sqlite3
> 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-linux-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.1 and node@14.15.4 (node-v83 ABI, glibc) (falling back to source compile with node-gyp) 
make: Entering directory '/home/kevinlopez/Documents/Projects/wsky-be/node_modules/sqlite3/build'
  CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
  AR(target) Release/obj.target/../node-addon-api/nothing.a
  COPY Release/nothing.a …
Run Code Online (Sandbox Code Playgroud)

linux sqlite node.js npm

7
推荐指数
3
解决办法
2万
查看次数

标签 统计

linux ×1

node.js ×1

npm ×1

sqlite ×1