-
Notifications
You must be signed in to change notification settings - Fork 26
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
npm install fails on Ubuntu #53
Comments
This is due to broken SWI-Prolog packages, not missing npm dependencies. Make sure to install SWI-Prolog in a way you can use the bundled libraries. For instance, the following should work from command line:
In most Linux distributions there are software packages for SWI-Prolog available; e.g. |
Closed since this is because of a broken SWI-Prolog installation. Nevertheless feel free to comment if you need help with your Prolog installation :) |
I'm sorry to reopen the issue. I'm an absolute beginner with Prolog. michel@obs-he-lm:~$ swipl --version
SWI-Prolog version 7.2.3 for x86_64-linux
michel@obs-he-lm:~$ swipl
Welcome to SWI-Prolog (Multi-threaded, 64 bits, Version 7.2.3)
Copyright (c) 1990-2015 ....
?- use_module(library(sgml)).
true.
?- use_module(library(chr)).
true. When I try to process a schema, I get nothing on stdout; then I switch to the trace mode and I get the following truncated output. michel@obs-he-lm:~$ xsd2json -t purchaseorder.xsd
CHR: (0) Insert: node_attribute(/home/michel/purchaseorder.xsd,[0],xmlns:xsd,http://www.w3.org/2001/XMLSchema,source) # <0>
....
....
CHR: (1) Redo: node_attribute(/home/michel/purchaseorder.xsd,[0],xmlns:xsd,http://www.w3.org/2001/XMLSchema,source) # <0>
CHR: (0) Fail: node_attribute(/home/michel/purchaseorder.xsd,[0],xmlns:xsd,http://www.w3.org/2001/XMLSchema,source) # <0>
ERROR: Prolog initialisation failed:
ERROR: Domain error: `chr_port' expected, found `none' I've no idea at all (and Google either) about that chr_port. I guess that others users can have to face the same problem, even if is not a real issue. LM |
No problem, you're welcome :) I will have a look at your posted problems in your recently opened issue #54. |
Hi
I do not manage to install xsd2json with .
swipl has ben installed from sources and sems to to work.
I got the following errors which are opaque to me.
That look like a broken dependency.
Have you an idea?
Laurent
The text was updated successfully, but these errors were encountered: