#I am migrating from CRA to Vite. Checked on Google but not able to find relevant fix. Any workaround

1 messages · Page 1 of 1 (latest)

neat cairn
#
package may have incorrect main/module/exports specified in its package.json.

[ERROR][plugin vite:dep-pre-bundle] Failed to resolve entry for package "@axa-fr/react-oidc-context". The pac
kage may have incorrect main/module/exports specified in its package.json.```
fiery crypt
#

Maybe they are in old version and do not have entry declaration at package.json. If you still need to use, you can try to patch them by declare their index.js,index.ts path manually.