Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 npm 5、ubuntu 16.04 和 node.js 8 为机器人(在我拥有的另一个 vps 上工作)安装我的软件包。问题似乎与钠/libsodium 相关。这是错误:
我试过删除所有节点模块并重新安装,似乎没有任何效果。有任何想法吗?
安装libtool. 日志说它没有找到 libsodium,因此它必须构建它libtool在您的系统上找不到的它。
libtool
sudo apt-get update sudo apt-get install libtool
当你添加它时,确保你有automake并且autoconf
automake
autoconf
sudo apt-get update sudo apt-get install libtool automake autoconf
然后再试npm install一次。node_modules为了安全起见,请先删除。希望这是有帮助的。
npm install
node_modules