Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile node-sass on FreeBSD 11.1 #2453

Closed
duncan-bayne opened this issue Jul 31, 2017 · 6 comments
Closed

Can't compile node-sass on FreeBSD 11.1 #2453

duncan-bayne opened this issue Jul 31, 2017 · 6 comments
Assignees
Labels

Comments

@duncan-bayne
Copy link

duncan-bayne commented Jul 31, 2017

I am having difficulty installing node-sass on FreeBSD 11.1, and I believe it's because libsass isn't compiling.

When I run npm rebuild node-sass:

In file included from /usr/include/c++/v1/stddef.h:40:
/usr/include/c++/v1/__config:73:2: error: "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported.        use _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR instead
#error "_LIBCPP_TRIVIAL_PAIR_COPY_CTOR" is no longer supported. \
 ^
1 error generated.
gmake: *** [src/libsass.target.mk:141: Release/obj.target/libsass/src/libsass/src/ast.o] Error 1
gmake: Leaving directory '/usr/home/duncan/project/frontend/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/home/duncan/project/frontend/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System FreeBSD 11.1-RELEASE
gyp ERR! command "/usr/local/bin/node" "/usr/home/duncan/project/frontend/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /usr/home/duncan/project/frontend/node_modules/node-sass
gyp ERR! node -v v8.1.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1

I'm on Node 8.1.4 and NPM 5.0.4.

@duncan-bayne duncan-bayne changed the title Can't compile node-sass on FreeBSD Can't compile node-sass on FreeBSD 11.1 Jul 31, 2017
@nschonni
Copy link
Collaborator

Duplicate of sass/node-sass#1911

@nschonni nschonni marked this as a duplicate of sass/node-sass#1911 Jul 31, 2017
@saper saper reopened this Aug 3, 2017
@saper saper self-assigned this Aug 3, 2017
@saper saper added the Build label Aug 3, 2017
@duncan-bayne
Copy link
Author

@saper 👋 ... let me know if I can help in any way. I'm a bit of a FreeBSD n00b though.

@saper
Copy link
Member

saper commented Aug 3, 2017

No worries, this is solved already, I need to check where I saw the fix.

@saper
Copy link
Member

saper commented Aug 6, 2017

This is nodejs/node#14076 and it is already fixed in node and is already in the Release Candidate nodejs/node#14076 (comment) - so either downgrade to node 6 or wait a bit.

@saper saper closed this as completed Aug 6, 2017
@saper
Copy link
Member

saper commented Aug 10, 2017

Node 8.3.0 has just made it to the FreeBSD ports.

@saper
Copy link
Member

saper commented Sep 10, 2017

FYI: I have uploaded FreeBSD bindings for node 4,6 and 8 for i386 and amd64 architectures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants