node-sass icon indicating copy to clipboard operation
node-sass copied to clipboard

darwin-x64-48_binding.node out of date for NodeJS v6.0.0, Mac OS X 10.11.4

Open Leglaw opened this issue 10 years ago • 3 comments

Upgraded to NodeJS v6.0.0 and now node-sass no longer functions.

Building will require ./lib/index.js which fails on:

var binding = require(sass.getBinaryPath());

scripts/install.js downloads the following file: './vendor/darwin-x64-48/binding.node'

Produces the following output:

> var binding = require(sass.getBinaryPath());
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0xccae12c9fa9 <JS Object>#0#
    1: .node [module.js:568] [pc=0x113d770f28a4] (this=0x36cb240ee081 <an Object with map 0x4cd6cb23949>#1#,module=0x3e81e02aea1 <a Module with map 0x4cd6cb27939>#2#,filename=0x3e81e02ae69 <String[77]: /Users/chess/tmp/sass-issues/repo/node-sass/vendor/darwin-x64-48/binding.node>)
    2: load [module.js:456] [pc=0x113d770d0732] (this=0x3e81e02aea1 <a Module with map 0x4cd6cb27939>#2#,filename=0x3e81e02ae69 <String[77]: /Users/chess/tmp/sass-issues/repo/node-sass/vendor/darwin-x64-48/binding.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x113d770d025d] (this=0xccae1204189 <undefined>,module=0x3e81e02aea1 <a Module with map 0x4cd6cb27939>#2#,filename=0x3e81e02ae69 <String[77]: /Users/chess/tmp/sass-issues/repo/node-sass/vendor/darwin-x64-48/binding.node>)
    4: _load [module.js:407] [pc=0x113d770ce1e2] (this=0x36cb240edef1 <JS Function Module (SharedFunctionInfo 0x36cb24083 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: SassTypes::Number::initPrototype(v8::Local<v8::FunctionTemplate>)
 3: SassTypes::SassValueWrapper<SassTypes::Number>::get_constructor_template()
 4: SassTypes::SassValueWrapper<SassTypes::Number>::get_constructor()
 5: SassTypes::Factory::initExports(v8::Local<v8::Object>)
 6: RegisterModule(v8::Local<v8::Object>)
 7: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 8: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 9: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
10: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
11: 0x113d76f0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

Leglaw avatar Apr 29 '16 01:04 Leglaw

Upgraded to NodeJS v6.0.0 and now node-sass no longer functions.

It functions perfectly fine. This is just a deprecation warning. You can ignore it. If you want to go away down grade to you Node.

xzyfer avatar Apr 29 '16 02:04 xzyfer

In future please look and search for open issues before opening a new one.

Duplicate #1493, #1484

xzyfer avatar Apr 29 '16 02:04 xzyfer

[email protected] has been released.

xzyfer avatar May 03 '16 10:05 xzyfer