svgdom icon indicating copy to clipboard operation
svgdom copied to clipboard

NodeJS installation instructions

Open maxwowpow opened this issue 1 year ago • 2 comments

  • no release/dist folder on version 3 when installing from github via npm install @svgdotjs/svg.js so module cannot be imported:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'XXX\node_modules\@svgdotjs\svg.js\' imported from app.js
    at new NodeError (node:internal/errors:399:5)
    at legacyMainResolve (node:internal/modules/esm/resolve:202:9)
  • the command pulls repo instead of a package.

  • currently only release section and cdns have a compiled version.

  • current package.json refers /dist folder for release/compiled version.

  • The real question is why svg.js 3 is not published. If the repo supposed to be a src only repo, maybe a second repo for svg.js 3 makes sense?

maxwowpow avatar Apr 25 '23 10:04 maxwowpow