Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to resolve entry for package "bytemd > @types/codemirror" #121

Closed
benwoodward opened this issue Sep 4, 2021 · 2 comments
Closed

Comments

@benwoodward
Copy link

When I install bytemd with SvelteKit (version: ^1.0.0-next.162), I get the following error:

> Failed to resolve entry for package "bytemd > @types/codemirror". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "bytemd > @types/codemirror". The package may have incorrect main/module/exports specified in its package.json.
Error: Failed to resolve entry for package "bytemd > @types/codemirror". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "bytemd > @types/codemirror". The package may have incorrect main/module/exports specified in its package.json.
    at packageEntryFailure (/Users/ben/dev/my-project/node_modules/vite/dist/node/chunks/dep-1be34a63.js:43739:11)
    at resolvePackageEntry (/Users/ben/dev/my-project/node_modules/vite/dist/node/chunks/dep-1be34a63.js:43735:9)
    at tryNodeResolve (/Users/ben/dev/my-project/node_modules/vite/dist/node/chunks/dep-1be34a63.js:43511:11)
    at Context.resolveId (/Users/ben/dev/my-project/node_modules/vite/dist/node/chunks/dep-1be34a63.js:43373:28)
    at Object.resolveId (/Users/ben/dev/my-project/node_modules/vite/dist/node/chunks/dep-1be34a63.js:50342:55)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async /Users/ben/dev/my-project/node_modules/vite/dist/node/chunks/dep-1be34a63.js:76764:27
    at async optimizeDeps (/Users/ben/dev/my-project/node_modules/vite/dist/node/chunks/dep-1be34a63.js:71535:31)
    at async runOptimize (/Users/ben/dev/my-project/node_modules/vite/dist/node/chunks/dep-1be34a63.js:75389:48)
@AmitPress
Copy link

Yeah Same issue on routify also... I think maybe vite is the reason cause vite is the common factor in both kit and routify

@pd4d10
Copy link
Owner

pd4d10 commented Nov 21, 2021

Thanks for the feedback! Provided an example here

Looks similar to #96, let's track SvelteKit/Vite related issues there.

@pd4d10 pd4d10 closed this as completed Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants