You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this bug in development, but i fixed changing the main file extension to index.js (was index.ts) in package.json at node_modules. On Vercel I don't know how to proceed.
Please provide the exception or error you saw
[commonjs--resolver] Failed to resolve entry for package "github-automated-repos". The package may have incorrect main/module/exports specified in its package.json.
error during build:
Error: Failed to resolve entry for package "github-automated-repos". The package may have incorrect main/module/exports specified in its package.json.
at packageEntryFailure (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-1513d487.js:34405:11)
at resolvePackageEntry (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-1513d487.js:34402:5)
at tryNodeResolve (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-1513d487.js:34160:20)
at Object.resolveId (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-1513d487.js:33962:28)
at file:///vercel/path0/node_modules/rollup/dist/es/shared/rollup.js:22694:37
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Command "npm run build" exited with 1
Anything else?
No response
The text was updated successfully, but these errors were encountered:
The problem was I forget the "/index" at import { useGithubAutomatedRepos, StackIcon, IGithubRepos } from 'github-automated-repos/index';
Thanks for the tip on linkedin @DIGOARTHUR
Which element(s) are the source of the bug?
Don't known / other
Description
I got this bug in development, but i fixed changing the main file extension to index.js (was index.ts) in package.json at node_modules. On Vercel I don't know how to proceed.
Please provide the exception or error you saw
Anything else?
No response
The text was updated successfully, but these errors were encountered: