- 问题:在centos6.5的ecs上执行node install命令,报错如下:
make: * [Release/obj.target/fibers/src/fibers.0] Error 1
make: leaving directory
gyp ERR! build error
gyp ERR! Error:make
failed with exit code:2
- 解决办法:
- (1) 安装python2.7
- (2) gcc升级到4.8
|
|
- 如何升级gcc参考下方:
make: * [Release/obj.target/fibers/src/fibers.0] Error 1
make: leaving directory
gyp ERR! build error
gyp ERR! Error:make
failed with exit code:2
|
|