2

更新:このように解決:

1. @salem が言ったように、contextify をインストールする必要がありました。

npm install contextify
  1. 次にsudo npm install -g topojson、Xcode ライセンス契約に同意する必要があるというエラーをスローしました。必要なコマンドもスローされたので、それを実行してからudo npm install -g topojsonもう一度 s を試したところ、うまくいきました!

問題:

だから、私はエラーがたくさん出ています:

sudo npm install -g topojson

他のスレッドで解決策が見つかりませんでした。

  1. Xcodeは正しいですか?Xcode 4.6.2 を使用していますが、アップデートすると次のエラーが表示されます。「Xcode [5] can't be installed on “Macintosh HD” because Mac OS X version 10.8.4 or later.」

  2. node と npm は問題ないようです…どちらも node --help と npm --help 2a でヘルプを吐き出します。node-v0.10.24-darwin-x86.tar を使用して、ノードを削除してから再インストールしようとしました。私はこれが何であるかについて非常に不明確ですが。

これはログの終わりです:

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

ログ全体はこちら: http://greencracker.net/wp-content/uploads/2013/12/error.txt

どう思いますか?

4

0 に答える 0