Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on Windows XP #12

Open
ajflash opened this issue Aug 10, 2012 · 7 comments
Open

Cannot install on Windows XP #12

ajflash opened this issue Aug 10, 2012 · 7 comments

Comments

@ajflash
Copy link

ajflash commented Aug 10, 2012

I' ve just installed node.js v0.8.6. After that I open a cmd.exe and I write: npm install node_xslt
I'got the following errors:

npm http GET https://registry.npmjs.org/node_xslt
npm http 304 https://registry.npmjs.org/node_xslt

[email protected] preinstall C:\Proyectos\nodetest\node_modules\node_xslt
node-waf distclean || (exit 0); node-waf configure build

No se esperaba node-waf en este momento.
npm ERR! [email protected] preinstall: node-waf distclean || (exit 0); node-waf c onfigure build
npm ERR! cmd "/c" "node-waf distclean || (exit 0); node-waf configure build" f
ailed with 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the node_xslt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf distclean || (exit 0); node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node_xslt
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 5.1.2600
npm ERR! command "C:\Archivos de programa\nodejs\node.exe" "C:\Archivos de
programa\nodejs\node_modules\npm\bin\npm-cli.js" "install" "node_xslt"
npm ERR! cwd C:\Proyectos\nodetest
npm ERR! node -v v0.8.6
npm ERR! npm -v 1.1.48
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Proyectos\nodetest\npm-debug.log
npm ERR! not ok code 0

I think it has something to do with the fact that node.js v0.8.6 now uses the gyp build system instead of node-waf?
Or this module only works under linux?

Thanks in advance!

@fnogatz
Copy link

fnogatz commented Aug 31, 2012

Under Ubuntu 12.04 with node -v v0.8.8 and npm -v 1.1.59 I could install it without any problem, so it's not because of node-waf.

@bsuh
Copy link
Owner

bsuh commented Sep 5, 2012

node.js does not support building C++ addons on Windows at this time.

@bsuh bsuh closed this as completed Sep 5, 2012
@bsuh bsuh reopened this Sep 5, 2012
@rainabba
Copy link

rainabba commented Sep 7, 2015

@bsuh You reopened this because you're looking at adding Windows support (saw the Debian dependencies)?

@bsuh
Copy link
Owner

bsuh commented Sep 8, 2015

I don't work on this project any more. I closed it, because there was no way to fix it at the time. Then I reopened it on second thought, because it is a valid issue.

@rainabba
Copy link

rainabba commented Dec 2, 2015

To be clear, are you considering moving the dependencies to use node-gyp or did you just reopen as a placeholder? I'm in a position that I'd entertain paying for a good xslt engine for node.js The only viable one I've found so far is VERY touchy and requires Java installed so I can't run it as a pure Node.js app, but would have to use a container.

@MartijnR
Copy link
Collaborator

MartijnR commented Dec 2, 2015

I recommend checking this one out (not sure about Windows and even less sure about Windows XP...): https://github.com/albanm/node-libxslt. Works on latest NodeJS too.

@rainabba
Copy link

rainabba commented Dec 2, 2015

@MartijnR Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants