🐛 The bug
I am trying to build a new project with Nuxt v4.1.1 and @nuxtjs/ionic and the Nuxt module which is required to setup Ionic raises this error:
[20:31:00] ERROR Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:183:11)
at defaultLoad (node:internal/modules/esm/load:78:3)
at nextLoad (node:internal/modules/esm/hooks:748:28)
at Hooks.load (node:internal/modules/esm/hooks:385:26)
at handleMessage (node:internal/modules/esm/worker:201:24)
at checkForMessages (node:internal/modules/esm/worker:143:28)
at process.<anonymous> (node:internal/modules/esm/worker:162:5)
at process.emit (node:events:508:28)
[20:31:00] ERROR Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
🛠️ To reproduce
https://stackblitz.com/github/nuxt-modules/ionic/tree/main/playground
🌈 Expected behaviour
I expected Nuxt to launch normally with pnpm run dev
ℹ️ Additional context
- Windows Machine
- Nuxt v4.1.1
- @nuxtjs/ionic v1.0.0
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
ssr: false,
modules: [
'@nuxt/eslint',
'@nuxt/image',
'@nuxt/scripts',
'@nuxt/test-utils',
'@nuxt/ui',
'@vueuse/nuxt',
'@pinia/nuxt',
'@nuxtjs/ionic'
]
})
🐛 The bug
I am trying to build a new project with Nuxt v4.1.1 and
@nuxtjs/ionicand the Nuxt module which is required to setup Ionic raises this error:🛠️ To reproduce
https://stackblitz.com/github/nuxt-modules/ionic/tree/main/playground
🌈 Expected behaviour
I expected Nuxt to launch normally with
pnpm run devℹ️ Additional context