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

Dependencies #17

Open
digitalheir opened this issue May 11, 2017 · 3 comments
Open

Dependencies #17

digitalheir opened this issue May 11, 2017 · 3 comments

Comments

@digitalheir
Copy link

Installing this lib is not as easy as npm install cxsd. On Linux, I need to install g++. On Windows, it complains that it can't find Python, and doesn't specify a version number.

This is a pretty annoying experience for a developer. Please specify what external dependencies are required, or download them automatically.

@jjrv
Copy link
Member

jjrv commented May 11, 2017

Thanks, that's a good point. There isn't actually any good reason to need those things, it just uses a faster XML parser (node-expat) which depends on a native binary Node.js addon (requiring a compiler) but it could just as well use sax and avoid that.

I'm working on using the next version of cxml as the parser also inside cxsd, so it will be even faster and not need external programs. It will still take about 2 months to get there.

@6lick
Copy link

6lick commented Aug 1, 2017

Using vs code on windows I had problems with python and other dependencies as well.
npm install --global --production windows-build-tools had everything required to install cxsd

@claudemartin
Copy link

On windows I used "npm install --global --production windows-build-tools" but it always fails.
I tried @4.0.0, which installs, but then it doesn't work: "could not find a version of Visual Studio 2017 or newer to use"
This is too much work for me. Is this project even still maintained? I don't understand why I can't find any tool that actually works to import some XML schema. This would take a minute when using Java.

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

4 participants