Skip to content

SvelteKitError: Not found: /Toolbar.svelte #153

@amin3141

Description

@amin3141

Sorry if this is a newbie question, but I'm running 4.8.1:

> pnpm why carta-md
Legend: production dependency, optional only, dev only

[email protected] F:\data\workspaces\pairsys\court-demo\fe\hammertime (PRIVATE)

dependencies:
@cartamd/plugin-code 4.1.1
└── carta-md 4.8.1 peer
carta-md 4.8.1

And I see the Toolbar.svelte cannot be found.

SvelteKitError: Not found: /Toolbar.svelte
    at resolve (F:\data\workspaces\pairsys\court-demo\fe\hammertime\node_modules\.pnpm\@[email protected]_@svelt_0c85fcf12a1861d20f92f36645a3ecca\node_modules\@sveltejs\kit\src\runtime\server\respond.js:552:13)
    at resolve (F:\data\workspaces\pairsys\court-demo\fe\hammertime\node_modules\.pnpm\@[email protected]_@svelt_0c85fcf12a1861d20f92f36645a3ecca\node_modules\@sveltejs\kit\src\runtime\server\respond.js:352:5)
    at Object.eval [as handle] (F:\data\workspaces\pairsys\court-demo\fe\hammertime\node_modules\.pnpm\@[email protected]_@svelt_0c85fcf12a1861d20f92f36645a3ecca\node_modules\@sveltejs\kit\src\runtime\server\index.js:76:56)
    at respond (F:\data\workspaces\pairsys\court-demo\fe\hammertime\node_modules\.pnpm\@[email protected]_@svelt_0c85fcf12a1861d20f92f36645a3ecca\node_modules\@sveltejs\kit\src\runtime\server\respond.js:349:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
  status: 404,
  text: 'Not Found'
}

Looking into my pnpm directory, everything seems to be there:

Image

For reference, here's the line in MarkdownEditor.svelte that seems to cause the issue:

import Toolbar from './internal/components/Toolbar.svelte';

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions