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

Node 6: Failed at the node-sass@3.6.0 postinstall script 'node scripts/build.js' #1484

Closed
tleunen opened this issue Apr 26, 2016 · 58 comments
Closed

Comments

@tleunen
Copy link

tleunen commented Apr 26, 2016

Looks like there's an issue with the newly released Node 6.0.0

npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v6.0.0/bin/node" "/home/travis/.nvm/versions/node/v6.0.0/bin/npm" "install"
npm ERR! node v6.0.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! node-sass@3.6.0 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-sass@3.6.0 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/travis/build/tleunen/react-mdl/npm-debug.log
@ralekna
Copy link

ralekna commented Apr 26, 2016

Something similar with Node 6 just upgraded:

... \node_modules\node-sass\lib\index.js:12
    throw new Error(errors.unsupportedEnvironment());
    ^

Error: Node Sass does not yet support your current environment: Windows 64-bit with false
For more information on which environments are supported please see:
TODO URL
    at Object.<anonymous> (... \node_modules\node-sass\lib\index.js:12:11)

@mgol
Copy link
Contributor

mgol commented Apr 26, 2016

I'm seeing lots of JS+C stack traces & warnings when running node-sass 3.6.0 on Node 6.0.0, things like:

(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

and:

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

Security context: 0x94aed3c9fa9 <JS Object>#0#
    1: .node [module.js:568] [pc=0x2a89f06a5f24] (this=0x293526aed149 <an Object with map 0x1a59b9d42e79>#1#,module=0x2ec8502340a1 <a Module with map 0x1a59b9d181b9>#2#,filename=0x2ec850234069 <String[99]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    2: load [/Users/mgol/Documents/projects/wiekxix/git/node_modules/coffee-script/lib/coffee-script/register.js:45] [pc=0x2a89f04c0814] (this=0x2ec8502340a1 <a Module with map 0x1a59b9d181b9>#2#,filename=0x2ec850234069 <String[99]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x2a89f043899d] (this=0x94aed304189 <undefined>,module=0x2ec8502340a1 <a Module with map 0x1a59b9d181b9>#2#,filename=0x2ec850234069 <String[99]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    4: _load [module.js:407] [pc=0x2a89f04345e2] (this=0x293526aed1c9 <JS Function Module (SharedFunctionInfo 0x293526a28709)>#3#,request=0x2ec850232a69 <String[99]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/vendor/darwin-x64-48/binding.node>,parent=0x2ec850216df9 <a Module with map 0x1a59b9d181b9>#4#,isMain=0x94aed304299 <false>)
    5: require [module.js:~463] [pc=0x2a89f050fb0b] (this=0x2ec850216df9 <a Module with map 0x1a59b9d181b9>#4#,path=0x2ec850232a69 <String[99]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    6: require(aka require) [internal/module.js:20] [pc=0x2a89f0442166] (this=0x94aed304189 <undefined>,path=0x2ec850232a69 <String[99]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    7: /* anonymous */ [/Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/lib/index.js:23] [pc=0x2a89f06a2721] (this=0x2ec850216e49 <an Object with map 0xbb0e7307b71>#5#,exports=0x2ec850216e49 <an Object with map 0xbb0e7307b71>#5#,require=0x2ec85021dd89 <JS Function require (SharedFunctionInfo 0x293526a58571)>#6#,module=0x2ec850216df9 <a Module with map 0x1a59b9d181b9>#4#,__filename=0x2ec850216dc1 <String[78]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/lib/index.js>,__dirname=0x2ec85021dd21 <String[69]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/lib>)
    8: _compile [module.js:541] [pc=0x2a89f0441944] (this=0x2ec850216df9 <a Module with map 0x1a59b9d181b9>#4#,content=0x2ec850217bc1 <Very long string[9855]>#7#,filename=0x2ec850216dc1 <String[78]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/lib/index.js>)
    9: .js [module.js:550] [pc=0x2a89f043a46b] (this=0x293526aed149 <an Object with map 0x1a59b9d42e79>#1#,module=0x2ec850216df9 <a Module with map 0x1a59b9d181b9>#4#,filename=0x2ec850216dc1 <String[78]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/lib/index.js>)
   10: load [/Users/mgol/Documents/projects/wiekxix/git/node_modules/coffee-script/lib/coffee-script/register.js:45] [pc=0x2a89f04c0814] (this=0x2ec850216df9 <a Module with map 0x1a59b9d181b9>#4#,filename=0x2ec850216dc1 <String[78]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/lib/index.js>)
   11: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x2a89f043899d] (this=0x94aed304189 <undefined>,module=0x2ec850216df9 <a Module with map 0x1a59b9d181b9>#4#,filename=0x2ec850216dc1 <String[78]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/node-sass/lib/index.js>)
   12: _load [module.js:407] [pc=0x2a89f04345e2] (this=0x293526aed1c9 <JS Function Module (SharedFunctionInfo 0x293526a28709)>#3#,request=0x13f0d01784b1 <String[9]: node-sass>,parent=0x2ec8501ef031 <a Module with map 0x1a59b9d181b9>#8#,isMain=0x94aed304299 <false>)
   13: require [module.js:~463] [pc=0x2a89f050fb0b] (this=0x2ec8501ef031 <a Module with map 0x1a59b9d181b9>#8#,path=0x13f0d01784b1 <String[9]: node-sass>)
   14: require(aka require) [internal/module.js:20] [pc=0x2a89f0442166] (this=0x94aed304189 <undefined>,path=0x13f0d01784b1 <String[9]: node-sass>)
   15: /* anonymous */ [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js:5] [pc=0x2a89f06a0f3f] (this=0x2ec8501ef081 <an Object with map 0xbb0e7307b71>#9#,exports=0x2ec8501ef081 <an Object with map 0xbb0e7307b71>#9#,require=0x2ec8501f0999 <JS Function require (SharedFunctionInfo 0x293526a58571)>#10#,module=0x2ec8501ef031 <a Module with map 0x1a59b9d181b9>#8#,__filename=0x2ec8501eeff9 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>,__dirname=0x2ec8501f0931 <String[72]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks>)
   16: _compile [module.js:541] [pc=0x2a89f0441944] (this=0x2ec8501ef031 <a Module with map 0x1a59b9d181b9>#8#,content=0x2ec8501efdc1 <String[1023]\: 'use strict';\nvar path = require('path');\nvar eachAsync = require('each-async');\nvar assign = require('object-assign');\nvar sass = require('node-sass');\n\nmodule.exports = function (grunt) {\n\x09grunt.verbose.writeln('\\n' + sass.info + '\\n');\n\n\x09grunt.registerMultiTask('sass', 'Compile Sass to CSS', function () {\n\x09\x09eachAsync(this.files, function (el, i, next) {\n\x09\x09\x09var opts = this.options({\n\x09\x09\x09\x09precision: 10\n\x09\x09\x09});\n\n\x09\x09\x09var src = el.src[0];\n\n\x09\x09\x09if (!src || path.basename(src)[0] === '_') {\n\x09\x09\x09\x09next();\n\x09\x09\x09\x09return;\n\x09\x09\x09}\n\n\x09\x09\x09sass.render(assign({}, opts, {\n\x09\x09\x09\x09file: src,\n\x09\x09\x09\x09outFile: el.dest\n\x09\x09\x09}), function (err, res) {\n\x09\x09\x09\x09if (err) {\n\x09\x09\x09\x09\x09grunt.log.error(err.message + '\\n  ' + 'Line ' + err.line + '  Column ' + err.column + '  ' + path.relative(process.cwd(), err.file) + '\\n');\n\x09\x09\x09\x09\x09grunt.warn('');\n\x09\x09\x09\x09\x09next(err);\n\x09\x09\x09\x09\x09return;\n\x09\x09\x09\x09}\n\n\x09\x09\x09\x09grunt.file.write(el.dest, res.css);\n\n\x09\x09\x09\x09if (opts.sourceMap) {\n\x09\x09\x09\x09\x09grunt.file.write(this.options.sourceMap, res.map);\n\x09\x09\x09\x09}\n\n\x09\x09\x09\x09next();\n\x09\x09\x09});\n\x09\x09}.bind(this), this.async());\n\x09});\n};\n>,filename=0x2ec8501eeff9 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>)
   17: .js [module.js:550] [pc=0x2a89f043a46b] (this=0x293526aed149 <an Object with map 0x1a59b9d42e79>#1#,module=0x2ec8501ef031 <a Module with map 0x1a59b9d181b9>#8#,filename=0x2ec8501eeff9 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>)
   18: load [/Users/mgol/Documents/projects/wiekxix/git/node_modules/coffee-script/lib/coffee-script/register.js:45] [pc=0x2a89f04c0814] (this=0x2ec8501ef031 <a Module with map 0x1a59b9d181b9>#8#,filename=0x2ec8501eeff9 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>)
   19: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x2a89f043899d] (this=0x94aed304189 <undefined>,module=0x2ec8501ef031 <a Module with map 0x1a59b9d181b9>#8#,filename=0x2ec8501eeff9 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>)
   20: _load [module.js:407] [pc=0x2a89f04345e2] (this=0x293526aed1c9 <JS Function Module (SharedFunctionInfo 0x293526a28709)>#3#,request=0x2ec8501ee0f1 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>,parent=0x13f0d0181461 <a Module with map 0x1a59b9d181b9>#11#,isMain=0x94aed304299 <false>)
   21: require [module.js:~463] [pc=0x2a89f050fb0b] (this=0x13f0d0181461 <a Module with map 0x1a59b9d181b9>#11#,path=0x2ec8501ee0f1 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>)
   22: require(aka require) [internal/module.js:20] [pc=0x2a89f0442166] (this=0x94aed304189 <undefined>,path=0x2ec8501ee0f1 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>)
   23: loadTask(aka loadTask) [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/grunt/task.js:316] [pc=0x2a89f05e9148] (this=0x94aed304189 <undefined>,filepath=0x2ec8501ed899 <String[80]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks/sass.js>)
   24: /* anonymous */(aka /* anonymous */) [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/grunt/task.js:354] [pc=0x2a89f06a0d07] (this=0x94aed304189 <undefined>,filename=0x214141180789 <String[7]: sass.js>)
   25: arguments adaptor frame: 3->1
   26: InnerArrayForEach(aka InnerArrayForEach) [native array.js:952] [pc=0x2a89f040c8f0] (this=0x94aed304189 <undefined>,br=0x2ec8501ed341 <JS Function (SharedFunctionInfo 0x21414117a141)>#12#,bs=0x94aed304189 <undefined>,w=0x2ec8501ed119 <JS Array[1]>#13#,x=1)
   27: forEach [native array.js:960] [pc=0x2a89f040c66d] (this=0x2ec8501ed119 <JS Array[1]>#13#,br=0x2ec8501ed341 <JS Function (SharedFunctionInfo 0x21414117a141)>#12#,bs=0x94aed304189 <undefined>)
   28: arguments adaptor frame: 1->2
   29: loadTasks(aka loadTasks) [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/grunt/task.js:353] [pc=0x2a89f0695a74] (this=0x94aed304189 <undefined>,tasksdir=0x2ec8501e55e9 <String[72]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks>)
   30: loadTasks [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/grunt/task.js:365] [pc=0x2a89f05c9f42] (this=0x13f0d01817a9 <an Object with map 0x1da050615c41>#14#,tasksdir=0x2ec8501e55e9 <String[72]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks>)
   31: loadPlugin [/Users/mgol/Documents/projects/wiekxix/git/node_modules/jit-grunt/lib/jit-grunt.js:103] [pc=0x2a89f0694a5e] (this=0x2ec8501cc0c9 <an Object with map 0x1da0506049f1>#15#,name=0x2ec8501e5001 <String[10]: grunt-sass>,path=0x2ec8501e55e9 <String[72]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-sass/tasks>,isFile=0x94aed304189 <undefined>)
   32: arguments adaptor frame: 2->3
   33: findPlugin [/Users/mgol/Documents/projects/wiekxix/git/node_modules/jit-grunt/lib/jit-grunt.js:80] [pc=0x2a89f0693944] (this=0x2ec8501cc0c9 <an Object with map 0x1da0506049f1>#15#,taskName=0x22e3a20ecd01 <String[4]: sass>)
   34: fn [/Users/mgol/Documents/projects/wiekxix/git/node_modules/jit-grunt/lib/jit-grunt.js:115] [pc=0x2a89f0692681] (this=0x2ec8501e3411 <an Object with map 0x1da050615be9>#16#)
   35: /* anonymous */ [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/util/task.js:294] [pc=0x2a89f0692451] (this=0x2ec8501e3411 <an Object with map 0x1da050615be9>#16#)
   36: runTaskFn [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/util/task.js:244] [pc=0x2a89f0691bb6] (this=0x13f0d01817a9 <an Object with map 0x1da050615c41>#14#,context=0x2ec8501e3411 <an Object with map 0x1da050615be9>#16#,fn=0x2ec8501e3459 <JS Function (SharedFunctionInfo 0x214141176d91)>#17#,done=0x2ec8501e3019 <JS BoundFunction bound  (BoundTargetFunction 0x2ec8501e2fb1)>#18#,asyncDone=0x94aed304231 <true>)
   37: /* anonymous */ [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/util/task.js:293] [pc=0x2a89f06918e3] (this=0x13f0d01817a9 <an Object with map 0x1da050615c41>#14#)
   38: start [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/util/task.js:302] [pc=0x2a89f0691325] (this=0x13f0d01817a9 <an Object with map 0x1da050615c41>#14#,opts=0x2ec8501e2f41 <an Object with map 0x1da0506159d9>#19#)
   39: tasks [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/grunt.js:155] [pc=0x2a89f05cc2f9] (this=0x194343e18b61 <an Object with map 0x1a59b9dd4659>#20#,tasks=0x13f0d0181789 <JS Array[1]>#21#,options=0x13f0d0181771 <an Object with map 0x1a59b9dd4659>#22#,done=0x94aed304189 <undefined>)
   40: cli [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/lib/grunt/cli.js:27] [pc=0x2a89f05cb496] (this=0x194343e18b61 <an Object with map 0x1a59b9dd4659>#20#,options=0x94aed304189 <undefined>,done=0x94aed304189 <undefined>)
   41: arguments adaptor frame: 0->2
   42: /* anonymous */ [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-cli/bin/grunt:44] [pc=0x2a89f0448575] (this=0x293526aed451 <an Object with map 0xbb0e7307b71>#23#,exports=0x293526aed451 <an Object with map 0xbb0e7307b71>#23#,require=0x293526aed2a1 <JS Function require (SharedFunctionInfo 0x293526a58571)>#24#,module=0x293526aed211 <a Module with map 0x1a59b9d181b9>#25#,__filename=0x293526aed3e9 <String[75]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-cli/bin/grunt>,__dirname=0x293526aed3c1 <String[69]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-cli/bin>)
   43: _compile [module.js:541] [pc=0x2a89f0441944] (this=0x293526aed211 <a Module with map 0x1a59b9d181b9>#25#,content=0x293526aed979 <Very long string[1139]>#26#,filename=0x293526aed3e9 <String[75]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-cli/bin/grunt>)
   44: .js [module.js:550] [pc=0x2a89f043a46b] (this=0x293526aed149 <an Object with map 0x1a59b9d42e79>#1#,module=0x293526aed211 <a Module with map 0x1a59b9d181b9>#25#,filename=0x293526aed3e9 <String[75]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-cli/bin/grunt>)
   45: /* anonymous */ [module.js:456] [pc=0x2a89f0438e72] (this=0x293526aed211 <a Module with map 0x1a59b9d181b9>#25#,filename=0x293526aed3e9 <String[75]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-cli/bin/grunt>)
   46: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x2a89f043899d] (this=0x94aed304189 <undefined>,module=0x293526aed211 <a Module with map 0x1a59b9d181b9>#25#,filename=0x293526aed3e9 <String[75]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt-cli/bin/grunt>)
   47: _load [module.js:407] [pc=0x2a89f04345e2] (this=0x293526aed1c9 <JS Function Module (SharedFunctionInfo 0x293526a28709)>#3#,request=0x293526a57ff1 <String[19]: grunt-cli/bin/grunt>,parent=0x293526aede41 <a Module with map 0x1a59b9d181b9>#27#,isMain=0x94aed304299 <false>)
   48: require [module.js:~463] [pc=0x2a89f0442433] (this=0x293526aede41 <a Module with map 0x1a59b9d181b9>#27#,path=0x293526a57ff1 <String[19]: grunt-cli/bin/grunt>)
   49: require(aka require) [internal/module.js:20] [pc=0x2a89f0442166] (this=0x94aed304189 <undefined>,path=0x293526a57ff1 <String[19]: grunt-cli/bin/grunt>)
   50: /* anonymous */ [/Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/bin/grunt:3] [pc=0x2a89f0441c1b] (this=0x293526aedfe9 <an Object with map 0xbb0e7307b71>#28#,exports=0x293526aedfe9 <an Object with map 0xbb0e7307b71>#28#,require=0x293526aeded1 <JS Function require (SharedFunctionInfo 0x293526a58571)>#29#,module=0x293526aede41 <a Module with map 0x1a59b9d181b9>#27#,__filename=0x293526aedf89 <String[71]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/bin/grunt>,__dirname=0x293526aedf61 <String[65]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/bin>)
   51: _compile [module.js:541] [pc=0x2a89f0441944] (this=0x293526aede41 <a Module with map 0x1a59b9d181b9>#27#,content=0x293526aee0c1 <String[34]\: \n\nrequire('grunt-cli/bin/grunt');\n>,filename=0x293526aedf89 <String[71]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/bin/grunt>)
   52: .js [module.js:550] [pc=0x2a89f043a46b] (this=0x293526aed149 <an Object with map 0x1a59b9d42e79>#1#,module=0x293526aede41 <a Module with map 0x1a59b9d181b9>#27#,filename=0x293526aedf89 <String[71]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/bin/grunt>)
   53: /* anonymous */ [module.js:456] [pc=0x2a89f0438e72] (this=0x293526aede41 <a Module with map 0x1a59b9d181b9>#27#,filename=0x293526aedf89 <String[71]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/bin/grunt>)
   54: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x2a89f043899d] (this=0x94aed304189 <undefined>,module=0x293526aede41 <a Module with map 0x1a59b9d181b9>#27#,filename=0x293526aedf89 <String[71]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/grunt/bin/grunt>)
   55: _load [module.js:407] [pc=0x2a89f04345e2] (this=0x293526aed1c9 <JS Function Module (SharedFunctionInfo 0x293526a28709)>#3#,request=0x293526aee139 <String[66]: /Users/mgol/Documents/projects/wiekxix/git/node_modules/.bin/grunt>,parent=0x94aed304101 <null>,isMain=0x94aed304231 <true>)
   56: runMain [module.js:575] [pc=0x2a89f04340aa] (this=0x293526aed1c9 <JS Function Module (SharedFunctionInfo 0x293526a28709)>#3#)
   57: startup(aka startup) [node.js:159] [pc=0x2a89f034085e] (this=0x94aed304189 <undefined>)
   58: /* anonymous */(aka /* anonymous */) [node.js:444] [pc=0x2a89f033e4f2] (this=0x94aed304101 <null>,process=0x94aed3e5b79 <a process with map 0xbb0e7311469>#30#)
=====================


==== C stack trace ===============================

 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: 0x2a89f030961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

@datatypevoid
Copy link

Same issue as @ralekna. node v6.0 and OS X El Capitan x64:

issue

@passcod
Copy link

passcod commented Apr 26, 2016

Same as @mgol on Arch Linux with Node 6.0.0 and npm 3.8.7

@SoGooDFR
Copy link

Same issue
npm ERR! node-sass@3.6.0 postinstall:node scripts/build.js npm ERR! Exit status 1

goblindegook added a commit to goblindegook/littlefoot that referenced this issue Apr 26, 2016
@xzyfer
Copy link
Contributor

xzyfer commented Apr 26, 2016

Node 6 is not yet supported. This will be case for many native extensions
like filesystem watchers.

Generally speaking dont expect everything to work when you're using the
bleeding edge.
On 27 Apr 2016 8:36 AM, "SoGooDFR" notifications@github.com wrote:

Same issue

npm ERR! node-sass@3.6.0 postinstall:node scripts/build.js
npm ERR! Exit status 1

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1484 (comment)

@datatypevoid
Copy link

@xzyfer It was more of a heads up, at least in my case. Most people on the bleeding edge aren't surprised by this sort of thing.

@leonardorb
Copy link

+1, here is my stack trace:

→ npm run dev

> hydrogen@0.0.1 dev /Users/leonardorb/Development/_dev/_2016/hydrogen
> node src/js/api/server.js

Server running at: http://mbp-de-leonardo.ad.neat.com:3000
(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: 0x22aec8cc9fa9 <JS Object>#0#
    1: .node [module.js:568] [pc=0x26d2b64cb6c4] (this=0x2f50dceedae1 <an Object with map 0x31aac0d17be1>#1#,module=0x105cfe2a1 <a Module with map 0x31aac0d181b9>#2#,filename=0x105cfe279 <String[106]: /Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    2: load [module.js:~447] [pc=0x26d2b622a9b6] (this=0x105cfe2a1 <a Module with map 0x31aac0d181b9>#2#,filename=0x105cfe279 <String[106]: /Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x26d2b5c3899d] (this=0x22aec8c04189 <undefined>,module=0x105cfe2a1 <a Module with map 0x31aac0d181b9>#2#,filename=0x105cfe279 <String[106]: /Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    4: _load [module.js:~381] [pc=0x26d2b6175c6a] (this=0x2f50dceedb61 <JS Function Module (SharedFunctionInfo 0x2f50dce286d1)>#3#,request=0x105cfcf21 <String[106]: /Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/node-sass/vendor/darwin-x64-48/binding.node>,parent=0x105ce7e31 <a Module with map 0x31aac0d181b9>#4#,isMain=0x22aec8c04299 <false>)
 Object with map 0x23536207b71>#5#,require=0x105cec681 <JS Function require (SharedFunctionInfo 0x2f50dce589e9)>#6#,module=0x105ce7e31 <a Module with map 0x31aac0d181b9>#4#,__filename=0x105ce7e09 <String[85]: /Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/node-sass/lib/index.js>,__dirname=0x105cec619 <String[76]: /Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/node-sass/lib>)
-sass>)
: require [module.js:~463] [pc=0x26d2b5cc8a0b] (this=0x333322353619 <a Module with map 0x31aac0d181b9>#12#,path=0x2b71d1c83039 <String[83]: /Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/sass-loader/index.js>)
#,fs=0x2583a9e0a8a9 <a CachedInputFileSystem with map 0x24c37bc56119>#17#,callback=0x212e3cedeff1 <JS BoundFunction bound  (BoundTargetFunction 0x2b71d1c78a91)>#19#)
/lib/NormalModuleFactory.js:98] [pc=0x26d2b60666df] (this=0x22aec8ce99f1 <JS Global Object>#21#,err=0x22aec8c04101 <null>,results=0x212e3cedf399 <JS Array[2]>#25#)
_2016/hydrogen/node_modules/webpack/lib/NormalModuleFactory.js:28] [pc=0x26d2b6007eca] (this=0x22aec8ce99f1 <JS Global Object>#21#,result=0x212e3cedf6e1 <an Object with map 0x24c37bc5b399>#32#,callback=0x212e3cedf0c1 <JS Function (SharedFunctionInfo 0x1c4c68cc6f41)>#34#)
8#)
aredFunctionInfo 0x39f701d24a69)>#46#)
16/hydrogen/node_modules/webpack-core/lib/NormalModuleMixin.js:236] [pc=0x26d2b63a9cf8] (this=0x212e3cedfc31 <a NormalModule with map 0x24c37bc6e321>#43#,err=0x22aec8c04101 <null>)
ildModule [/Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/webpack/lib/Compilation.js:126] [pc=0x26d2b601d9a1] (this=0x2583a9e0a989 <a Compilation with map 0x24c37bc5d1d9>#15#,module=0x212e3cedfc31 <a NormalModule with map 0x24c37bc6e321>#43#,thisCallback=0x212e3cedfd11 <JS Function (SharedFunctionInfo 0x39f701d24a69)>#46#)
anonymous */ [/Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/async/lib/async.js:726] [pc=0x26d2b606625b] (this=0x22aec8ce99f1 <JS Global Object>#21#,err=0x22aec8c04101 <null>)
   82: /* anonymous */ [/Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/async/lib/async.js:52] [pc=0x26d2b6061745] (this=0x22aec8ce99f1 <JS Global Object>#21#)
   83: arguments adaptor frame: 1->0
   84: /* anonymous */ [/Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/async/lib/async.js:236] [pc=0x26d2b600a106] (this=0x22aec8ce99f1 <JS Global Object>#21#,object=0x212e3cee11e9 <JS Array[3]>#59#,iterator=0x212e3cee11a1 <JS Function (SharedFunctionInfo 0x1c4c68cb5701)>#60#,callback=0x212e3cee0f99 <JS Function (SharedFunctionInfo 0x1c4c68cb57c1)>#61#)
   85: _parallel [/Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/async/lib/async.js:717] [pc=0x26d2b6009adb] (this=0x22aec8ce99f1 <JS Global Object>#21#,eachfn=0x35377b7bd401 <JS Function async.forEachOf.async.eachOf (SharedFunctionInfo 0x35377b7ba7e1)>#29#,tasks=0x212e3cee11e9 <JS Array[3]>#59#,callback=0x212e3cee0f31 <JS Function (SharedFunctionInfo 0x39f701d0c921)>#62#)
   86: parallel [/Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/async/lib/async.js:731] [pc=0x26d2b600989f] (this=0x7af8a0b91e1 <an Object with map 0x31aac0da5ed1>#31#,tasks=0x212e3cee11e9 <JS Array[3]>#59#,callback=0x212e3cee0f31 <JS Function (SharedFunctionInfo 0x39f701d0c921)>#62#)
6d2b6061745] (this=0x22aec8ce99f1 <JS Global Object>#21#)
rogen/node_modules/async/lib/async.js:358] [pc=0x26d2b60615d7] (this=0x22aec8ce99f1 <JS Global Object>#21#,err=0x22aec8c04101 <null>,v=0x212e3cee1319 <String[83]: /Users/leonardorb/Development/_dev/_2016/hydrogen/node_modules/sass-loader/index.js>)
ve/lib/Resolver.js:191] [pc=0x26d2b605ab85] (this=0x22aec8ce99f1 <JS Global Object>#21#)
/enhanced-resolve/lib/Resolver.js:123] [pc=0x26d2b6060843] (this=0x22aec8ce99f1 <JS Global Object>#21#,result=0x212e3cee13c1 <an Object with map 0x24c37bc66d91>#65#)
t/_dev/_2016/hydrogen/node_modules/enhanced-resolve/lib/Resolver.js:191] [pc=0x26d2b605ab85] (this=0x22aec8ce99f1 <JS Global Object>#21#)
frame: 0->2
th map 0x24c37bc54fe9>#66#,types=0x22aec8cd8001 <String[6]: result>,request=0x212e3cee13c1 <an Object with map 0x24c37bc66d91>#65#,callback=0x212e3cee1989 <JS Function (SharedFunctionInfo 0x1c4c68cbacc9)>#73#,noError=0x22aec8c04189 <undefined>)
0x26d2b600f79a] (this=0x2583a9e0c411 <a Resolver with map 0x24c37bc54fe9>#66#,request=0x212e3cee2399 <an Object with map 0x24c37bc67a49>#79#,callback=0x212e3cee1989 <JS Function (SharedFunctionInfo 0x1c4c68cbacc9)>#73#)
irectoryDescriptionFilePlugin.js:71] [pc=0x26d2b6016ef2] (this=0x2583a9e0c411 <a Resolver with map 0x24c37bc54fe9>#66#,err=0x22aec8c04101 <null>,content=0x212e3cee2631 <an Object with map 0x31aac0d37a01>#85#)

 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: 0x26d2b5b0961b
12: 0x26d2b64cb6c4
[1]    57542 segmentation fault  npm run dev

@xzyfer
Copy link
Contributor

xzyfer commented Apr 26, 2016

Thanks you we appreciate the heads up. These threads tend to devolve
quickly. We are now aware of the issue.

Once we have a fix it'll take a about a day to do a new release we because
we need to prebuild a lot of binaries.

We'll hopefully have something by next week.
On 27 Apr 2016 9:00 AM, "David Newman" notifications@github.com wrote:

@xzyfer https://github.com/xzyfer It was more of a heads up, at least
in my case. Most people on the bleeding edge aren't surprised by this sort
of thing.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#1484 (comment)

@tleunen
Copy link
Author

tleunen commented Apr 26, 2016

No worries @xzyfer It was purely informtive to let you guys know there's an issue in Node 6. I'm not expecting this to be resolved in the hour ;)

@olalonde
Copy link

olalonde commented Apr 26, 2016

If it's any help, related issue with fsevents module: fsevents/fsevents#127 and potential fix: https://github.com/strongloop/fsevents/pull/128/files

Digging through the code, the error seems to originate from nan: https://github.com/sass/node-sass/blob/master/src/sass_types/map.cpp#L23

Related issue on nan repo: nodejs/nan#558

@revmischa
Copy link

Same for me

rm -f Release/sass.a && ./gyp-mac-tool filter-libtool libtool -static -o Release/sass.a Release/obj.target/libsass/src/libsass/src/ast.o Release/obj.target/libsass/src/libsass/src/base64vlq.o Release/obj.target/libsass/src/libsass/src/bind.o Release/obj.target/libsass/src/libsass/src/cencode.o Release/obj.target/libsass/src/libsass/src/color_maps.o Release/obj.target/libsass/src/libsass/src/constants.o Release/obj.target/libsass/src/libsass/src/context.o Release/obj.target/libsass/src/libsass/src/cssize.o Release/obj.target/libsass/src/libsass/src/emitter.o Release/obj.target/libsass/src/libsass/src/environment.o Release/obj.target/libsass/src/libsass/src/error_handling.o Release/obj.target/libsass/src/libsass/src/eval.o Release/obj.target/libsass/src/libsass/src/expand.o Release/obj.target/libsass/src/libsass/src/extend.o Release/obj.target/libsass/src/libsass/src/file.o Release/obj.target/libsass/src/libsass/src/functions.o Release/obj.target/libsass/src/libsass/src/inspect.o Release/obj.target/libsass/src/libsass/src/json.o Release/obj.target/libsass/src/libsass/src/lexer.o Release/obj.target/libsass/src/libsass/src/listize.o Release/obj.target/libsass/src/libsass/src/memory_manager.o Release/obj.target/libsass/src/libsass/src/node.o Release/obj.target/libsass/src/libsass/src/output.o Release/obj.target/libsass/src/libsass/src/parser.o Release/obj.target/libsass/src/libsass/src/plugins.o Release/obj.target/libsass/src/libsass/src/position.o Release/obj.target/libsass/src/libsass/src/prelexer.o Release/obj.target/libsass/src/libsass/src/remove_placeholders.o Release/obj.target/libsass/src/libsass/src/sass.o Release/obj.target/libsass/src/libsass/src/sass2scss.o Release/obj.target/libsass/src/libsass/src/sass_context.o Release/obj.target/libsass/src/libsass/src/sass_functions.o Release/obj.target/libsass/src/libsass/src/sass_util.o Release/obj.target/libsass/src/libsass/src/sass_values.o Release/obj.target/libsass/src/libsass/src/source_map.o Release/obj.target/libsass/src/libsass/src/to_c.o Release/obj.target/libsass/src/libsass/src/to_value.o Release/obj.target/libsass/src/libsass/src/units.o Release/obj.target/libsass/src/libsass/src/utf8_string.o Release/obj.target/libsass/src/libsass/src/util.o Release/obj.target/libsass/src/libsass/src/values.o
libtool: unrecognized option -static' libtool: Trylibtool --help' for more information.
make: *** [Release/sass.a] Error 1

@d4ncer
Copy link

d4ncer commented Apr 27, 2016

Is there any way to suppress the warnings/stack traces? The quiet flag doesn't seem to be doing anything.

@hanspagel
Copy link

check out https://github.com/sass/node-sass/releases

npm rebuild node-sass fixed the issue here

@xzyfer
Copy link
Contributor

xzyfer commented Apr 27, 2016

To my amazement I was able to build v3.6.0 on Node 6 with no issues. I've already uploaded the binaries for the v3.6.0 release to osx and linux users.

Windows releases are trickier and complicated by missing support in AppVeyor (appveyor/ci#770).

@mgol
Copy link
Contributor

mgol commented Apr 27, 2016

@xzyfer I cleaned npm & node-gyp caches & re-installed node-sass 3.6.0 on OS X 10.11.4 but I still see the long stack traces that I mentioned in my comment #1484 (comment). So the fact that it built doesn't seem to be enough.

@caneta
Copy link

caneta commented Apr 27, 2016

Yes, the same as @mgol here.
I'm on an Ubuntu x86_64.

@phtwo
Copy link

phtwo commented Apr 27, 2016

node5.3
same as ...

`> node scripts/install.js

Cannot download "https://github.com/sass/node-sass/releases/download/v3.6.0/win32-x64-48_binding.node":` it is 404

@xzyfer
Copy link
Contributor

xzyfer commented Apr 27, 2016

@mgol I understand. Yes you'll still get annoying stack traces, but for those who cannot build locally they'll at least now be able to install node-sass.

@xzyfer
Copy link
Contributor

xzyfer commented Apr 27, 2016

@mgol to be clear, our test suite passes with the Node 6 with binaries. The stack traces are an annoyance, no more.

@alexeygolev
Copy link

@xzyfer They might be a mere annoyance however webpack throws an error with a similar stack trace and crashes

@xzyfer
Copy link
Contributor

xzyfer commented Apr 27, 2016

@alexeygolev that's likely because webpack's watcher is broken on Node 6. Most filesystem watches are native extensions like node-sass.

@xzyfer
Copy link
Contributor

xzyfer commented Apr 27, 2016

The warnings can be silenced with --nowarn_template_set. See nodejs/node#6277.
This is an internal note

@mgol
Copy link
Contributor

mgol commented Apr 27, 2016

@mgol to be clear, our test suite passes with the Node 6 with binaries. The stack traces are an annoyance, no more.

OK, thanks for the info!

@tleunen
Copy link
Author

tleunen commented Apr 27, 2016

Confirmed my initial issue is now resolved. My build is passing on Travis.
@xzyfer I'll let you close this ticket, unless you want it open to track windows issues?

@feryardiant
Copy link

Confirmed, thanks for the hard work.

image

@egucciar
Copy link

Any possible to backport this fix to node-sass 3.3? node-sass 3.4 introduces breaking changes for our older SASS project, but we are moving onto a new project and want to use node 6.

Our only option right now is to install the python executable and c++ binaries but it would be awesome if this update was back-ported to 3.3

@xzyfer
Copy link
Contributor

xzyfer commented Jun 14, 2016

@egucciar unfortunately it is not possible to back port this change because it's in the native code that talks to LibSass.

@Yimiprod
Copy link

With Node 6.2.1

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: 0x2c01df9c9e59 <JS Object>#0#
    1: .node [module.js:568] [pc=0x27dd7abf11a4] (this=0x5a539e4e5c9 <an Object with map 0x340064b17d41>#1#,module=0x199da2126301 <a Module with map 0x340064b18319>#2#,filename=0x199da2126299 <String[76]: /space/www/workflow/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    2: load [module.js:458] [pc=0x27dd7ab34932] (this=0x199da2126301 <a Module with map 0x340064b18319>#2#,filename=0x199da2126299 <String[76]: /space/www/workflow/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x27dd7ab3445d] (this=0x2c01df904189 <undefined>,module=0x199da2126301 <a Module with map 0x340064b18319>#2#,filename=0x199da2126299 <String[76]: /space/www/workflow/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    4: _load [module.js:409] [pc=0x27dd7ab2fa42] (this=0x5a539e4e649 <JS Function Module (SharedFunctionInfo 0xc194923ed9)>#3#,request=0x199da2125279 <String[76]: /space/www/workflow/node_modules/node-sass/vendor/darwin-x64-48/binding.node>,parent=0x199da2112009 <a Module with map 0x340064b18319>#4#,isMain=0x2c01df904299 <false>)
    5: require [module.js:~465] [pc=0x27dd7abcd0cb] (this=0x199da2112009 <a Module with map 0x340064b18319>#4#,path=0x199da2125279 <String[76]: /space/www/workflow/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    6: require(aka require) [internal/module.js:20] [pc=0x27dd7ab3df86] (this=0x2c01df904189 <undefined>,path=0x199da2125279 <String[76]: /space/www/workflow/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    7: /* anonymous */ [/space/www/workflow/node_modules/node-sass/lib/index.js:16] [pc=0x27dd7abeb911] (this=0x199da2112059 <an Object with map 0x1eff29207ac1>#5#,exports=0x199da2112059 <an Object with map 0x1eff29207ac1>#5#,require=0x199da2118831 <JS Function require (SharedFunctionInfo 0xc1949546a9)>#6#,module=0x199da2112009 <a Module with map 0x340064b18319>#4#,__filename=0x199da2111fb9 <String[55]: /space/www/workflow/node_modules/node-sass/lib/index.js>,__dirname=0x199da21187c9 <String[46]: /space/www/workflow/node_modules/node-sass/lib>)
    8: _compile [module.js:541] [pc=0x27dd7ab3d430] (this=0x199da2112009 <a Module with map 0x340064b18319>#4#,content=0x199da2112c59 <Very long string[9231]>#7#,filename=0x199da2111fb9 <String[55]: /space/www/workflow/node_modules/node-sass/lib/index.js>)
    9: .js [module.js:550] [pc=0x27dd7ab35f2b] (this=0x5a539e4e5c9 <an Object with map 0x340064b17d41>#1#,module=0x199da2112009 <a Module with map 0x340064b18319>#4#,filename=0x199da2111fb9 <String[55]: /space/www/workflow/node_modules/node-sass/lib/index.js>)
   10: load [module.js:458] [pc=0x27dd7ab34932] (this=0x199da2112009 <a Module with map 0x340064b18319>#4#,filename=0x199da2111fb9 <String[55]: /space/www/workflow/node_modules/node-sass/lib/index.js>)
   11: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x27dd7ab3445d] (this=0x2c01df904189 <undefined>,module=0x199da2112009 <a Module with map 0x340064b18319>#4#,filename=0x199da2111fb9 <String[55]: /space/www/workflow/node_modules/node-sass/lib/index.js>)
   12: _load [module.js:409] [pc=0x27dd7ab2fa42] (this=0x5a539e4e649 <JS Function Module (SharedFunctionInfo 0xc194923ed9)>#3#,request=0x26bad88827f1 <String[9]: node-sass>,parent=0x199da2107f19 <a Module with map 0x340064b18319>#8#,isMain=0x2c01df904299 <false>)
   13: require [module.js:~465] [pc=0x27dd7abcd0cb] (this=0x199da2107f19 <a Module with map 0x340064b18319>#8#,path=0x26bad88827f1 <String[9]: node-sass>)
   14: require(aka require) [internal/module.js:20] [pc=0x27dd7ab3df86] (this=0x2c01df904189 <undefined>,path=0x26bad88827f1 <String[9]: node-sass>)
   15: /* anonymous */ [/space/www/workflow/utils/sass.js:5] [pc=0x27dd7abeae61] (this=0x199da2107f69 <an Object with map 0x1eff29207ac1>#9#,exports=0x199da2107f69 <an Object with map 0x1eff29207ac1>#9#,require=0x199da210ad79 <JS Function require (SharedFunctionInfo 0xc1949546a9)>#10#,module=0x199da2107f19 <a Module with map 0x340064b18319>#8#,__filename=0x199da2107ed9 <String[33]: /space/www/workflow/utils/sass.js>,__dirname=0x199da210ad11 <String[25]: /space/www/workflow/utils>)
   16: _compile [module.js:541] [pc=0x27dd7ab3d430] (this=0x199da2107f19 <a Module with map 0x340064b18319>#8#,content=0x199da2108921 <Very long string[4175]>#11#,filename=0x199da2107ed9 <String[33]: /space/www/workflow/utils/sass.js>)
   17: .js [module.js:550] [pc=0x27dd7ab35f2b] (this=0x5a539e4e5c9 <an Object with map 0x340064b17d41>#1#,module=0x199da2107f19 <a Module with map 0x340064b18319>#8#,filename=0x199da2107ed9 <String[33]: /space/www/workflow/utils/sass.js>)
   18: load [module.js:458] [pc=0x27dd7ab34932] (this=0x199da2107f19 <a Module with map 0x340064b18319>#8#,filename=0x199da2107ed9 <String[33]: /space/www/workflow/utils/sass.js>)
   19: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x27dd7ab3445d] (this=0x2c01df904189 <undefined>,module=0x199da2107f19 <a Module with map 0x340064b18319>#8#,filename=0x199da2107ed9 <String[33]: /space/www/workflow/utils/sass.js>)
   20: _load [module.js:409] [pc=0x27dd7ab2fa42] (this=0x5a539e4e649 <JS Function Module (SharedFunctionInfo 0xc194923ed9)>#3#,request=0xc194953b49 <String[13]: ../utils/sass>,parent=0x5a539e4e6c9 <a Module with map 0x340064b18319>#12#,isMain=0x2c01df904299 <false>)
   21: require [module.js:~465] [pc=0x27dd7abcd0cb] (this=0x5a539e4e6c9 <a Module with map 0x340064b18319>#12#,path=0xc194953b49 <String[13]: ../utils/sass>)
   22: require(aka require) [internal/module.js:20] [pc=0x27dd7ab3df86] (this=0x2c01df904189 <undefined>,path=0xc194953b49 <String[13]: ../utils/sass>)
   23: /* anonymous */ [/space/www/workflow/project/watch-scss.js:8] [pc=0x27dd7ab3d7d7] (this=0x5a539e4e8b1 <an Object with map 0x1eff29207ac1>#13#,exports=0x5a539e4e8b1 <an Object with map 0x1eff29207ac1>#13#,require=0x5a539e4e759 <JS Function require (SharedFunctionInfo 0xc1949546a9)>#14#,module=0x5a539e4e6c9 <a Module with map 0x340064b18319>#12#,__filename=0x5a539e4e869 <String[41]: /space/www/workflow/project/watch-scss.js>,__dirname=0x5a539e4e841 <String[27]: /space/www/workflow/project>)
   24: _compile [module.js:541] [pc=0x27dd7ab3d430] (this=0x5a539e4e6c9 <a Module with map 0x340064b18319>#12#,content=0x5a539e4ee59 <Very long string[1269]>#15#,filename=0x5a539e4e869 <String[41]: /space/www/workflow/project/watch-scss.js>)
   25: .js [module.js:550] [pc=0x27dd7ab35f2b] (this=0x5a539e4e5c9 <an Object with map 0x340064b17d41>#1#,module=0x5a539e4e6c9 <a Module with map 0x340064b18319>#12#,filename=0x5a539e4e869 <String[41]: /space/www/workflow/project/watch-scss.js>)
   26: load [module.js:458] [pc=0x27dd7ab34932] (this=0x5a539e4e6c9 <a Module with map 0x340064b18319>#12#,filename=0x5a539e4e869 <String[41]: /space/www/workflow/project/watch-scss.js>)
   27: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x27dd7ab3445d] (this=0x2c01df904189 <undefined>,module=0x5a539e4e6c9 <a Module with map 0x340064b18319>#12#,filename=0x5a539e4e869 <String[41]: /space/www/workflow/project/watch-scss.js>)
   28: _load [module.js:409] [pc=0x27dd7ab2fa42] (this=0x5a539e4e649 <JS Function Module (SharedFunctionInfo 0xc194923ed9)>#3#,request=0x5a539e4f389 <String[38]: /space/www/workflow/project/watch-scss>,parent=0x2c01df904101 <null>,isMain=0x2c01df904231 <true>)
   29: runMain [module.js:575] [pc=0x27dd7ab2f50a] (this=0x5a539e4e649 <JS Function Module (SharedFunctionInfo 0xc194923ed9)>#3#)
   30: startup(aka startup) [node.js:160] [pc=0x27dd7aa408c9] (this=0x2c01df904189 <undefined>)
   31: /* anonymous */(aka /* anonymous */) [node.js:456] [pc=0x27dd7aa3e523] (this=0x2c01df904101 <null>,process=0x2c01df9e0e51 <a process with map 0x1eff292115c9>#16#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: SassTypes::Boolean::get_constructor()
 3: SassTypes::Factory::initExports(v8::Local<v8::Object>)
 4: RegisterModule(v8::Local<v8::Object>)
 5: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 6: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 7: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
 8: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
 9: 0x27dd7aa0961b
10: 0x27dd7abf11a4

@xzyfer
Copy link
Contributor

xzyfer commented Jun 16, 2016

@Yimiprod fixed in v3.7.0

@IbnSaeed
Copy link

IbnSaeed commented Aug 5, 2016

Still having the same issue even with node-sass 3.7.0

@aeharding
Copy link

I'm having issues with 3.8.0, I think. Ubuntu, Node 6.3.1

image

@xzyfer
Copy link
Contributor

xzyfer commented Aug 6, 2016

Please read the documentation on how to file a bug. Saying "it doesn't
work" and screenshot don't give us any information to help you.

On 6 Aug 2016 5:11 AM, "Alexander Harding" notifications@github.com wrote:

I'm having issues with 3.8.0, I think. Ubuntu, Node 6.3.1

[image: image]
https://cloud.githubusercontent.com/assets/2166114/17447849/8e7f17c2-5b16-11e6-81a6-899a462de89a.png


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#1484 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWGzIUuiWEhu4aFNwPu5D4h45ggKtks5qc4r7gaJpZM4IQV4Q
.

@saper
Copy link
Member

saper commented Aug 8, 2016

@xzyfer seems like we have a new catch-all bug here. I wonder if there is a way to get a compiler output in a way that npm puts it in the log properly. Also maybe we should provide a user friendly summary why scripts/install.js failed AGAIN, after build.js failure. Just some random thoughts how to deal with the reports like those above.

@xzyfer
Copy link
Contributor

xzyfer commented Aug 8, 2016

@saper I think we already do that. The above screen shot is strange because it's void of the usual output.

@daproject85
Copy link

failing on ubuntu sh: 1: node: not found
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-sass"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! node-sass@3.8.0 install: node scripts/install.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the node-sass@3.8.0 install script 'node scripts/install.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/install.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! /root/Desktop/PokemonGo-Map/npm-debug.log

@HunterJoe
Copy link

I am trying to build an electron app that will run gulpfiles from a GUI. However, since we use sass, I am now getting this error with both node versions 4.5.0 and 6.8.1. I was running 4.5.0 and our gulpfiles worked fine from the CL. I updated to 6.8.1 and started getting this same error message. I ran npm rebuild node-sass and that fixed the CL version, but when I start my electron app, I get this error in the console.
Uncaught Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (50) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v3.10.1, so I tried npm rebuild node-sass, and that completed, but I still get the error in the console.

@xzyfer
Copy link
Contributor

xzyfer commented Oct 18, 2016

This a known bug in electron - electron/electron#6318 & electron/electron#5851

@sudotty
Copy link

sudotty commented Oct 26, 2016

the same issue

@chl03ks
Copy link

chl03ks commented Oct 26, 2016

same :(

rror: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (51)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.10.1

@sudotty
Copy link

sudotty commented Oct 27, 2016

@owndann I fixed use "npm rebuild node-sass "

@codealchemist
Copy link

I was having this issue on OSX:

ERROR in Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (51)
    For more information on which environments are supported please see:
    https://github.com/sass/node-sass/releases/tag/v3.8.0

Node version v7.0.0 @ macOS Sierra.

Seems to happen after upgrading nodejs.
This fixed it:
npm rebuild node-sass

Thanks!

@sass sass locked and limited conversation to collaborators Oct 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests