Macos 安装Topojson——contextify时出现大量错误?节点gyp重建?10.7.5中未使用的其他螺纹
更新:解决方法如下: 1.正如@salem所说,我必须安装contextify:Macos 安装Topojson——contextify时出现大量错误?节点gyp重建?10.7.5中未使用的其他螺纹,macos,node.js,topojson,Macos,Node.js,Topojson,更新:解决方法如下: 1.正如@salem所说,我必须安装contextify: npm install contextify 然后sudo npm install-g topojson抛出了一个关于需要接受Xcode许可协议的错误。它也抛出了我需要的命令,所以我运行了它,然后再次尝试了sudo npm install-g topojson,结果成功了 问题: 因此,我在以下方面犯了很多错误: sudo npm安装-g topojson 我还没有在其他线程中找到解决方案 Xcode正确吗?我
npm install contextify
sudo npm install-g topojson
抛出了一个关于需要接受Xcode许可协议的错误。它也抛出了我需要的命令,所以我运行了它,然后再次尝试了sudo npm install-g topojson
,结果成功了李>
问题: 因此,我在以下方面犯了很多错误: sudo npm安装-g topojson 我还没有在其他线程中找到解决方案
npm ERR! Failed at the contextify@0.1.6 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 11.4.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "topojson"
npm ERR! cwd /Users/maggielee/Downloads
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/maggielee/Downloads/npm-debug.log
npm ERR! not ok code 0
整个日志如下:
您觉得怎么样?您能提供npm install contextify的输出吗?这是一个需要编译的模块,所以您可能缺少一些库…谢谢,安装contextify完成了。我更新了上面的内容。