Skip to content

Vite fails to resolve errors with 6.0.0 #157

Open
@catherine-newman

Description

@catherine-newman

After updating to version 6.0.0 from 5.0.0 using Vite, throws this error when viewing a component that uses PickerInline and PickerOverlay.

[vite] Internal server error: Failed to resolve entry for package "filestack-react". The package may have incorrect main/module/exports specified in its package.json.

Looks like file extensions have changed but not been updated in package.json
5.0.0:

dist/filestack-react.modern.js
dist/filestack-react.modern.js.map

6.0.0:

dist/filestack-react.modern.mjs
dist/filestack-react.modern.mjs.map

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions