0

我一直在尝试安装 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)

我不知道这意味着什么。

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

4

1 回答 1

0

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

于 2020-12-03T18:06:36.500 回答