Skip to content

NodeJS installation instructions #102

@maxwowpow

Description

@maxwowpow
  • 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions