node.js - How to include node-sass in nwjs (on windows) -
i'm working on multi-platform project in nw.js (node-webkit) , has use node-sass. problem can't seem find way include without error on windows (x64).
here's i've tried:
- require is
error: dynamic link library (dll) initialization routine failed. - build node-sass' built in script , require
error: dynamic link library (dll) initialization routine failed. - build node-gyp
error: dynamic link library (dll) initialization routine failed. - build nw-gyp (configure command fails)
error: name 'component' not defined while evaluating condition 'os=="win" , component=="shared_library" in binding.gyp while trying load binding.gyp
i've tested on windows 10 (x64), node v6.5.0, nw.js v0.16.1 , v0.17.0, node-sass (latest).
thanks help!
i faced similar issue (but on linux) , failed find answer why node-sass not work , how fix it. sass.js works me (worker+script). of course isn't convenient node-sass (i.e need handle imports in special way), needs works fine.
Comments
Post a Comment