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.

node-sass 3.0.0-beta on freebsd 10.0 #892

@vladyslav2

Description

@vladyslav2

Hello.
I'm getting error while trying to compile node sass for FreeBSD,
Does anybody know how to fix that ?
thanks

root@computer#: env CC=clang CXX=clang++ LINK=clang++ SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=1 V=1 npm -g install node-sass#v3.0.0-alpha.1
/usr/local/bin/node-sass -> /usr/local/lib/node_modules/node-sass/bin/node-sass

> [email protected] install /usr/local/lib/node_modules/node-sass
> node scripts/install.js

Skipping downloading binaries on CI builds

> [email protected] postinstall /usr/local/lib/node_modules/node-sass
> node scripts/build.js

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.30"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/node-sass/.node-gyp"
gmake: вход в каталог «/usr/local/lib/node_modules/node-sass/build»
  clang++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/usr/local/lib/node_modules/node-sass/.node-gyp/0.10.30/src -I/usr/local/lib/node_modules/node-sass/.node-gyp/0.10.30/deps/uv/include -I/usr/local/lib/node_modules/node-sass/.node-gyp/0.10.30/deps/v8/include -I../node_modules/nan  -fPIC -Wall -Wextra -Wno-unused-parameter -pthread -m64 -O2 -fno-strict-aliasing -fno-omit-frame-pointer -fno-rtti -std=c++0x -fexceptions -frtti -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:1:
../node_modules/nan/nan.h:143:5: error: use of undeclared identifier 'abort'
    abort();
    ^
../node_modules/nan/nan.h:152:5: error: use of undeclared identifier 'abort'
    abort();
    ^
2 errors generated.
binding.target.mk:125: ошибка выполнения рецепта для цели «Release/obj.target/binding/src/binding.o»
gmake: *** [Release/obj.target/binding/src/binding.o] Ошибка 1
gmake: выход из каталога «/usr/local/lib/node_modules/node-sass/build»
gyp ERR! build error 
gyp ERR! stack Error: `gmake` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/node-sass/node_modules/pangyp/lib/build.js:271: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 FreeBSD 10.0-RELEASE-p9
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/node-sass/node_modules/pangyp/bin/node-gyp" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/node-sass
gyp ERR! node -v v0.10.30
gyp ERR! pangyp -v v2.1.0
gyp ERR! not ok 
Build failed
[email protected] /usr/local/lib/node_modules/node-sass
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions