Coder Social home page Coder Social logo

Support windows about html2jade HOT 11 CLOSED

donpark avatar donpark commented on June 9, 2024
Support windows

from html2jade.

Comments (11)

donpark avatar donpark commented on June 9, 2024

Sorry, Windows command-line support is not there. Frankly, it's not clear to me how NPM is suppose to work on Windows either.

from html2jade.

wuhaixing avatar wuhaixing commented on June 9, 2024

Thanks,I just found this and will give it a try
Install Node.js and NPM on Windows http://www.hacksparrow.com/install-node-js-and-npm-on-windows.html

from html2jade.

donpark avatar donpark commented on June 9, 2024

With node >= 0.6.3 containing bundled npm and html2jade >= 0.1.1, html2jade appears to be working on Windows.

However, fix in 0.1.1 is temporary workaround, forcing require("html2jade") to fail so secondary require("../lib/html2jade") can kick in.

It would be good to figure out why html2jade using default module path fails on Windows.

from html2jade.

analogt avatar analogt commented on June 9, 2024

I think the real issue as to why people are having issues with this package on windows resides in the dependency on jsdom. jsdom contains compiled binaries not compatible with windows. if you can satisfy the jsdom dependency then you should be ready to rock.

from html2jade.

donpark avatar donpark commented on June 9, 2024

It's the Contextify package used by jsdom that uses native code. Hope that changes soon.

from html2jade.

donpark avatar donpark commented on June 9, 2024

Good news: node 0.7 will include contextify-like feature. Bad news: 0.7 is months away.

from html2jade.

enzy avatar enzy commented on June 9, 2024

Months have passed...

from html2jade.

donpark avatar donpark commented on June 9, 2024

@enzy have you tried installing after making sure Windows-specific requirements listed at
https://github.com/tmpvar/jsdom#Windows are met?

from html2jade.

donpark avatar donpark commented on June 9, 2024

BTW, jsdom will finally get rid of contextify when Node.js 0.12 gets released.

jsdom/jsdom#683 (comment)

Which means recent changes to jsdom that broke html2jade will have to be resolved
before using contestify-free version.

from html2jade.

elcct avatar elcct commented on June 9, 2024

It works fine under Windows 8 x64.

Probably you need to follow this: https://github.com/TooTallNate/node-gyp#installation, but I installed it with Visual Studio 2012

from html2jade.

donpark avatar donpark commented on June 9, 2024

version 0.7 has Windows support submitted by @pjeby. See #71

from html2jade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.