ionic icon indicating copy to clipboard operation
ionic copied to clipboard

Runtime error: Failed to resolve import "#vue-router"

Open Rizzato95 opened this issue 1 year ago â€ĸ 1 comments

🐛 The bug

In an empty Nuxt project if I simply add @nuxt/ionic (from v.0.14.0), I get this runtime error:

Internal server error: Failed to resolve import "#vue-router" from "node_modules/@nuxtjs/ionic/dist/runtime/composables/head.mjs?v=7856ef51". Does the file exist?

The module works as expected with v.0.13.x

đŸ› ī¸ To reproduce

https://codesandbox.io/p/devbox/nuxt-ionic-vh6nqz

🌈 Expected behaviour

The application should start as always

â„šī¸ Additional context

No response

Rizzato95 avatar Jun 20 '24 06:06 Rizzato95

Any news about this bug?

dvernole avatar Jul 02 '24 13:07 dvernole

This should be resolved in v0.15+.

danielroe avatar Jul 15 '24 10:07 danielroe