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:

  1. require is
    error: dynamic link library (dll) initialization routine failed.
  2. build node-sass' built in script , require
    error: dynamic link library (dll) initialization routine failed.
  3. build node-gyp
    error: dynamic link library (dll) initialization routine failed.
  4. 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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -