Skip to content
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

Vite unable to resolve the package - incorrect main/module/exports #27

Open
umarluqman opened this issue May 18, 2022 · 2 comments
Open

Comments

@umarluqman
Copy link
Contributor

Describe the bug
Vite is unable to resolve the package.

Steps to reproduce the behaviour:

Install @react-schrome-extension-router and vite
Import it anywhere
Run vite
Sample error:
Failed to resolve entry for package "react-chrome-extension-router". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "react-chrome-extension-router". The package may have incorrect main/module/exports specified in its package.json.

Expected behaviour:
Vite should serve the site

Additional info:
MacOS Monterey
Chrome
react-chrome-extension-router v1.3.1

@kelsonpw
Copy link
Owner

Fixed

@kelsonpw kelsonpw reopened this Aug 18, 2022
@kelsonpw
Copy link
Owner

This has been fixed and published in v1.4.0 https://www.npmjs.com/package/react-chrome-extension-router/v/1.4.0

Thanks for your contribution @umarluqman ! 🙏🏻

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

2 participants