Skip to content

Failed to load url __vite-optional-peer-dep:@vueuse/head:vite-ssr #216

Description

@nathanmrtns

I have added the plugin and the configurations, but when I try to run it throws the following error:

Failed to load url __vite-optional-peer-dep:@vueuse/head:vite-ssr (resolved id: virtual:__vite-optional-peer-dep:@vueuse/head:vite-ssr/index.js) in {project path}/node_modules/vite-ssr/vue/entry-server.js. Does the file exist?

after pressing esc I'm still able to browse through the routes but on each route change I see the same error.

I am running with vite-ssr dev --open and I don't have a entry-server.js file, since the installation instructions don't mention any and also the examples don't have such file.

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions