Closed bosd closed 3 years ago
Hi,
Please install Node.js and try again.
If this wouldn't work, I recommend sending a message to Mario Voigt, who created the InkScape plugin.
Thanks for the prompt reply. I went to dig further into the problem. It seems that it is unrelated to inkscape as the module itself is n't working. I've update to the latest stable node.js. (14.16)
the feedback is a bit more verbose
@fedora imagetracerjs-master]$ sudo node nodecli ../panda.png -outfilename outpanda.svg
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module '/home/user/Downloads/imagetracerjs-master2/nodecli'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
``
Here's some things that might help/explain, but these are just guessing, I haven't tested it yet:
nodecli
is not exported as a module, it's only an example how imagetracerjs works with Node.js, it's not meant to be an application. But it's very simple, I recommend modifying it to fit your needs.imagetracerjs-master
, but it looks for nodecli
in imagetracerjs-master2
. Please try from the actual directory which contains nodecli
.sudo
, so just node nodecli ../panda.png -outfilename outpanda.svg
Thanks for the insights. Made the mistake in paths. When I ran the command in the nodecli folder it was working!! :tada:
Continued the conversation about inkscape related issues in the inkscape issue.
Great! I close this, follow up is in Issue #47.
Using Inksacpe extenstion on version 1.0.2 Got an error message on Fedora 32 Python 3.9.2 Installed Pillow version 8.1.2