【发布时间】:2021-06-14 12:22:33
【问题描述】:
我正在尝试使用命令安装包 libxml
npm i libxml
不幸的是,我收到以下我不太明白的错误。
% npm i libxml
npm ERR! code 1
npm ERR! path /Users/smo/Documents/adep2/adep-export-tool-js/node_modules/libxml
npm ERR! command failed
npm ERR! command sh -c ./build.sh
npm ERR! ./build.sh: line 8: node-waf: command not found
npm ERR! ./build.sh: line 9: node-waf: command not found
npm ERR! cp: build/Release/o3.node: No such file or directory
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/smo/.npm/_logs/2021-06-14T12_12_32_467Z-debug.log
如果有人至少可以向我解释错误,那将非常有帮助。
【问题讨论】:
标签: node.js npm installation libxml2