Skip to content

Vite fails to resolve errors with 6.0.0 #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
catherine-newman opened this issue May 2, 2025 · 0 comments
Open

Vite fails to resolve errors with 6.0.0 #157

catherine-newman opened this issue May 2, 2025 · 0 comments

Comments

@catherine-newman
Copy link

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
@catherine-newman catherine-newman changed the title Vite errors with 6.0.0 Vite fails to resolve errors with 6.0.0 May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant