fnogatz / xsd2json

Translate XML Schema into equivalent JSON Schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error for xsd to json

mailuser41 opened this issue · comments

I get this error:

stack": [
"Error: spawn swipl ENOENT",
" at exports._errnoException (util.js:746:11)",
" at Process.ChildProcess._handle.onexit (child_process.js:1053:32)",
" at child_process.js:1144:20",
" at process._tickDomainCallback (node.js:381:11)",
" at process. (/home/syedn/proj/ori/propfi/node_modules/loopback/node_modules/continuation-local-storage/node_modules/async-listener/index.js:18:15)"
],
"level": "error",
"message": "uncaughtException: spawn swipl ENOENT"

Could you please provide more details? What are you trying to do? Are you using die CLI or programmatically with node.js? Is it possible to share your tested XSD file?

This got resolved after installing swipl. Thanks