Skip to content

Better handle dependency crashes / errors when Vite is used #235

Description

@zcernigoj

Using sentinelhub-js in a project where Vite is used will cause crashes because of xml2js package (vitejs/vite#7555)

  • quick fix: add note to additionally install stream package (https://www.npmjs.com/package/stream) to their projects which should resolve the issue
  • long-term fix 1: better handling of errors that happen in dependencies
  • long-term fix 2 (only for xml2js): fix sentinelhub-js so users of the library don't have to install additional packages to their projects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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