Comments (11)
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.
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.
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.
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.
It's the Contextify
package used by jsdom
that uses native code. Hope that changes soon.
from html2jade.
Good news: node 0.7 will include contextify
-like feature. Bad news: 0.7 is months away.
from html2jade.
Months have passed...
from html2jade.
@enzy have you tried installing after making sure Windows-specific requirements listed at
https://github.com/tmpvar/jsdom#Windows are met?
from html2jade.
BTW, jsdom will finally get rid of contextify when Node.js 0.12 gets released.
Which means recent changes to jsdom that broke html2jade will have to be resolved
before using contestify-free version.
from html2jade.
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.
version 0.7 has Windows support submitted by @pjeby. See #71
from html2jade.
Related Issues (20)
- --bodyless in Gulp task HOT 1
- attribute case is not preserved when converting from html HOT 13
- Strip server language tags HOT 2
- Migrate to ES6 HOT 1
- Not generating nested elements HOT 2
- Option to skip the auto trim HOT 4
- Datalist aren't converting properly HOT 3
- 有没有windows平台版本? HOT 1
- Tags options always true. HOT 1
- Rename/update to Pug 2 (html2pug) HOT 3
- what's wrong with this ? May be some bugs ? HOT 3
- Don't work with Angular 2 template syntax HOT 6
- Please support IE conditional comments HOT 2
- Breaks inline SVG's viewBox HOT 2
- backslash problem
- Non-standard self-closing tags aren't properly respected HOT 1
- Always true condition. HOT 1
- omit commas between attributes HOT 3
- Only converting first few child elements? HOT 1
- You can not convert that there is a pre
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html2jade.