【发布时间】:2019-09-06 21:49:38
【问题描述】:
我正在查看 https://github.com/nodejs/abi-stable-node-addon-examples 的 nodejs 插件示例。
自述部分说我必须全局安装 node-gyp:
$ sudo npm install node-gyp -g
但是,全局安装node-gyp后,是否也需要在本地项目中安装呢?
$ cd myproject
$ npm install node-gyp
【问题讨论】: