Vite:import-analysis : Failed to resolve entry for package "mui-rte"
dailenisgonzalez opened this issue · comments
Checklist
- This is not covered in the repository examples.
- I am using the package latest version.
- This is a bug report or an enhancement proposal.
Description
When I run the npm start the app throw this error:
node_modules/vite/dist/node/chunks/dep-36bf480c.js:43807:10: error: [plugin: vite:dep-scan] Failed to resolve entry for package "mui-rte". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "mui-rte". The package may have incorrect main/module/exports specified in its package.json.
43807 │ throw new Error(Failed to resolve entry for package "${id}".
I check the node package.json from "mui-rte" in node module and in the main the route to index.js is wrong because is pointing to dist if I remove dist from there it's works.
``@dailenisgonzalez Thanks for the bug report, version 2.0.1 should fix this. Could you give it a try?
@niuware It is working now , awesome :) , thanks