【问题标题】:Enmap won't install with better-sqlite3 errorEnmap 无法安装,出现 better-sqlite3 错误
【发布时间】:2021-03-15 12:58:43
【问题描述】:

我已经尝试安装 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)

我不知道这意味着什么。

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

【问题讨论】:

标签: javascript node.js npm discord.js better-sqlite3


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2019-10-11
    • 2021-04-27
    • 2021-12-29
    • 2013-08-26
    • 1970-01-01
    • 2020-05-02
    • 2019-12-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多