Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Installation Failing (on Linux, Windows or Heroku etc.) #467

Closed
@jedfoster

Description

@jedfoster

Error:

-----> Rebuilding any native dependencies

       > node-sass@1.0.1 install /tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/node_modules/node-sass
       > node build.js

       `linux-x64-v8-3.14` exists; testing
       make: Entering directory `/tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/node_modules/node-sass/build'
         CXX(target) Release/obj.target/binding/binding.o
       cc1plus: error: unrecognized command line option "-std=c++11"
       cc1plus: error: unrecognized command line option "-std=c++11"
       make: *** [Release/obj.target/binding/binding.o] Error 1
       make: Leaving directory `/tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/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 (/tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/vendor/node/lib/node_modules/npm/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:810:12)
       gyp ERR! System Linux 3.8.11-ec2
       gyp ERR! command "node" "/tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/vendor/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
       gyp ERR! cwd /tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/node_modules/node-sass
       gyp ERR! node -v v0.10.32
       gyp ERR! node-gyp -v v1.0.1
       gyp ERR! not ok
       Build failed

       npm ERR! node-sass@1.0.1 install: `node build.js`
       npm ERR! Exit status 1
       npm ERR!
       npm ERR! Failed at the node-sass@1.0.1 install script.
       npm ERR! 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 build.js
       npm ERR! You can get their info via:
       npm ERR!     npm owner ls node-sass
       npm ERR! There is likely additional logging output above.
       npm ERR! System Linux 3.8.11-ec2
       npm ERR! command "/tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/vendor/node/bin/node" "/tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/vendor/node/bin/npm" "rebuild"
       npm ERR! cwd /tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb
       npm ERR! node -v v0.10.32
       npm ERR! npm -v 1.4.28
       npm ERR! code ELIFECYCLE
       npm ERR!
       npm ERR! Additional logging details can be found in:
       npm ERR!     /tmp/build_3550e8f7-0269-4253-a8cf-f39ff7f9d0fb/npm-debug.log
       npm ERR! not ok code 0

Full trace: https://gist.github.com/jedfoster/9e1e919c46ca1707dd2c

Am I doing it wrong?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions