-
Notifications
You must be signed in to change notification settings - Fork 12
Description
如题在Linux 环境上安装失败
我先贴个log在上面,看看你能不能帮忙看下,我初步看是出错在 fis-sass的build.js文件中 .
看看能不能帮忙看看
sudo npm install -g fis-parser-sass
fis-sass@3.1.3 install /usr/lib/node_modules/fis-parser-sass/node_modules/fis-sass
node build.js
Downloading http://fisstatic.duapp.com/addons/fis-sass/3.1.0/linux-x64/0.12.0/binding.node ...
Received 513K...
Received 1052K...
Received 1564K...
Received 1753K total.
Test failed!
child_process: customFds option is deprecated, use stdio instead.
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.12.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/fis-parser-sass/node_modules/fis-sass/.node-gyp"
make: Entering directory /usr/lib/node_modules/fis-parser-sass/node_modules/fis-sass/build' CXX(target) Release/obj.target/binding/src/binding.o ../src/binding.cpp: In function ‘Sass_Import** sass_importer2(const char*, const char*, void*)’: ../src/binding.cpp:27: 警告:实参为 NULL,需要非 NULL 值(实参 1) ../src/binding.cpp:28: 警告:实参为 NULL,需要非 NULL 值(实参 1) ../src/binding.cpp: In function ‘void GetStats(v8::Handle<v8::Object>, Sass_Context*)’: ../src/binding.cpp:95: 错误:‘nullptr’在此作用域中尚未声明 make: *** [Release/obj.target/binding/src/binding.o] 错误 1 make: Leaving directory
/usr/lib/node_modules/fis-parser-sass/node_modules/fis-sass/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 2.6.32-358.el6.x86_64
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/fis-parser-sass/node_modules/fis-sass
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
Build failed
npm ERR! Linux 2.6.32-358.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "fis-parser-sass"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! fis-sass@3.1.3 install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fis-sass@3.1.3 install script 'node build.js'.
npm ERR! This is most likely a problem with the fis-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls fis-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/rong/www/trunk/npm-debug.log