Failed to resolve entry for package "webext-bridge".
See original GitHub issueI added vitest/unit-test support to the base code, but when running the test command yarn test:unit
I m getting error:
Error: Failed to resolve entry for package "webext-bridge". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "webext-bridge". The package may have incorrect main/module/exports specified in its package.json.
❯ packageEntryFailure node_modules/vite/dist/node/chunks/dep-f5552faa.js:30629:11
❯ resolvePackageEntry node_modules/vite/dist/node/chunks/dep-f5552faa.js:30625:9
❯ tryNodeResolve node_modules/vite/dist/node/chunks/dep-f5552faa.js:30440:20
❯ Context.resolveId node_modules/vite/dist/node/chunks/dep-f5552faa.js:30257:28
❯ Object.resolveId node_modules/vite/dist/node/chunks/dep-f5552faa.js:36922:55
❯ processTicksAndRejections ../../../../internal/process/task_queues.js:95:5
❯ async TransformContext.resolve node_modules/vite/dist/node/chunks/dep-f5552faa.js:36721:23
❯ async normalizeUrl node_modules/vite/dist/node/chunks/dep-f5552faa.js:73701:34
❯ async TransformContext.transform node_modules/vite/dist/node/chunks/dep-f5552faa.js:73843:57
❯ async Object.transform node_modules/vite/dist/node/chunks/dep-f5552faa.js:36985:30
Here is the stackblitz link: https://stackblitz.com/edit/github-sratr2
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Running on root directory "Failed to resolve entry for package"
Failed to resolve entry for package "/my-vue-app". The package may have incorrect main/module/exports specified in its package.json: Failed ...
Read more >reactjs - Failed to resolve entry for package "notistack5". The ...
I found the solution, the problem was in the package.json file of the notistack5 module. "module": "dist/notistack.esm.js" instead of ...
Read more >Integrating browser extensions with Symantec Endpoint ...
Uninstall the browser extension by removing the Google Chrome entry from the AD GPO policy. Uninstall the SEP client. Reinstall the SEP client ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
webext-bridge
package https://www.npmjs.com/package/patch-packageWait for this PR to be merged, it won’t take too long.
vitest
integrated in #76, close this issue.