LoginSignup
4

More than 5 years have passed since last update.

nodebrewでio.jsでnode-gypを使うには

Last updated at Posted at 2015-02-10

node-gypとは

io.jsでネイティブコードを含むモジュールをインストールする際に
使われる。Cで言うところのmakeコマンド。

nodebrew環境で動かす

バイナリーでインストールするとうまくいかない模様。

nodebrew install io@v1.1.0
nodebrew use io@v1.1.0
cd ~/.nodebrew/current/lib/node_modules/npm/node_modules/node-gyp/
npm link

これで、node-gypがグローバルに使えるようになります。

Link

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4