sintaxi / harp

Static Web Server/Generator/Bundler
http://harpjs.com
5k stars 342 forks source link

Can not install harp in Ubuntu12.04 #582

Closed yelichi closed 7 years ago

yelichi commented 7 years ago

image

make: Entering directory /usr/local/lib/node_modules/harp/node_modules/node-sass/build' g++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/ubuntu/.node-gyp/6.2.2/include/node -I/home/ubuntu/.node-gyp/6.2.2/src -I/home/ubuntu/.node-gyp/6.2.2/deps/uv/include -I/home/ubuntu/.node-gyp/6.2.2/deps/v8/include -I../../nan -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -std=c++0x -MMD -MF ./Release/.deps/Release/obj.target/binding/src/binding.o.d.raw -c -o Release/obj.target/binding/src/binding.o ../src/binding.cpp In file included from ../src/binding.cpp:3:0: ../src/sass_context_wrapper.h:8:26: fatal error: sass/context.h: No such file or directory compilation terminated. make: *** [Release/obj.target/binding/src/binding.o] Error 1 make: Leaving directory/usr/local/lib/node_modules/harp/node_modules/node-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/harp/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Linux 3.2.0-23-generic gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/harp/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /usr/local/lib/node_modules/harp/node_modules/node-sass gyp ERR! node -v v6.2.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok Build failed /usr/local/lib └── (empty)

npm ERR! Linux 3.2.0-23-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "harp" npm ERR! node v6.2.2 npm ERR! npm v3.10.8 npm ERR! code ELIFECYCLE

npm ERR! node-sass@3.4.2 postinstall: node scripts/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@3.4.2 postinstall script 'node scripts/build.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the node-sass package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node scripts/build.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs node-sass npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls node-sass npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/ubuntu/3iwom_userservice/npm-debug.log npm ERR! code 1

Please help. Thanks.

gringolalia commented 7 years ago

Likewise on Linux Mint. Failed at the node-sass@3.4.2 post-install script node-sass/build.js

Will try it on Arch ...

sintaxi commented 7 years ago

There has been a new release of harp recently. I think there is a very good chance it resolved this issue.

yelichi commented 7 years ago

The new release is work. Thanks a lot.

sintaxi commented 7 years ago

Great! Thanks for reporting back!