Enmap 不会安装并出现更好的 sqlite3 错误



我已经尝试安装enmap有一段时间了,我在网上搜索了一下,没有找到任何有效的解决方案,我正在尝试npm i enmap,但我一直收到这个错误:

https://paste.ubuntu.com/p/d993WptFyq/

让我印象深刻的一部分错误是这个

gyp ERR! stack Error: not found: make
gyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:168:21)

我不知道这是什么意思。

我已经删除了我的模块文件夹和包文件,并不断收到同样的错误。

我已经解决了这个问题,我需要使用sudo apt-get install build-essential安装build-essential

错误:未找到:生成

您需要安装make:

sudo apt install make

在大多数情况下,您也需要gcc

sudo apt install gcc

如果你想在任何安装中安装所有可能需要的库和程序(不仅仅是better-sqlite3(,你可以安装build-essential:

sudo apt install build-essential

最新更新