jankovicsandras / imagetracerjs

Simple raster image tracer and vectorizer written in JavaScript.
The Unlicense
1.27k stars 169 forks source link

Imagetracer & Inkscape extension not working on Fedora 33 #55

Closed bosd closed 3 years ago

bosd commented 3 years ago

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

image

jankovicsandras commented 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.

bosd commented 3 years ago

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: []
}

``
jankovicsandras commented 3 years ago

Here's some things that might help/explain, but these are just guessing, I haven't tested it yet:

bosd commented 3 years ago

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.

jankovicsandras commented 3 years ago

Great! I close this, follow up is in Issue #47.