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 load url __vite-optional-peer-dep:@vueuse/head:vite-ssr #216

Open
nathanmrtns opened this issue Nov 8, 2023 · 1 comment
Open

Comments

@nathanmrtns
Copy link

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?

@nathanmrtns
Copy link
Author

nathanmrtns commented Nov 8, 2023

Probably related - #208

but I tried the solution and I still the error.

What it worked for me was installing "@vueuse/head": "^0.6.0",

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

1 participant