Open HarryF514 opened 7 years ago
you should point to the folder where index.js is for example:
node /usr/bin/wavi /home/harry/Documents/playground/mylib graph.svg
I also get the same error when I try to run wavi with either a JS file, HTML file or even the project directory which leads to respectively a small white box or big black one.
I got a blank svg (at first), but I eventually found out that I used the wrong path to a non-existing directory and I did not get an error message. It worked when I used the correct path.
Dibian os.
node /usr/bin/wavi index.js graph.svg
my index.js file look like this:
after I excuted the command,
then I got a blank/white svg. I also check other html json file, all got blank svg