Closed guaka closed 11 years ago
I kind of got it running by patching node_expat.js. I changed var expat = require('../build/Release/node_expat.node'); to var expat = require('node-expat');
Doesn't look like the right way to do it, but for now it works.
Could be good to look into package.json
. Current version is just an attempt at learning more about this file :)
Ok, finally it works properly. Naively, I installed node.js, npm and coffeescript from the ubuntu-repository. They hopelessly outdated. I removed them and installed everything manually and that solved all problems.
@MrTweek: I try to play around with your meteor-stuff, but I couldn't really get it running. I tried this on 2 machines that didn't have any meteor/node/npm/coffeescript running before.
The meteor app is running, but I can't convert the xml dump to json.
What I did:
However, when I run your xml2json.coffee, I am getting these errors: $ ./xml2json.coffee Error: Cannot find module '../build/Release/node_expat.node'
I tried installing node-expat and xml2json via apt-get, but no difference.
One thing I found strange: in node_modules/ there is only xml2json, while node-expat is in node_modules/xml2json/node_modules/node-expat