LoginSignup
0
0

More than 5 years have passed since last update.

node centos6.7 えらる

Posted at

以下のコマンドを実行した所、エラッタ。

$ npm install .

make: *** [Release/obj.target/validation/src/validation.o] エラー 1
make: ディレクトリ `/usr/lib/node_modules/node-inspector/node_modules/ws/node_modules/utf-8-validate/build' から出ます
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 2.6.32-573.12.1.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/node-inspector/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok

ココらへんを参照すると
https://github.com/nodejs/nan/issues/414#issuecomment-131756213

$ npm -g install npm

を入れろとのこと。

$ npm install .

よしよし入った。
npmは詳しく無いけど、
システムに入れなきゃいけないのかーという感想でした。
今年に入ってから地味にエラーをひくな。。。

0
0
0

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
0
0