react-chrome-extension-router icon indicating copy to clipboard operation
react-chrome-extension-router copied to clipboard

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

Open umarluqman opened this issue 2 years ago • 2 comments

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

umarluqman avatar May 18 '22 10:05 umarluqman

Fixed

kelsonpw avatar Aug 18 '22 06:08 kelsonpw

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 ! 🙏🏻

kelsonpw avatar Aug 18 '22 06:08 kelsonpw