Skip to content

Nuxt module @nuxjs/ionic breaks Nuxt v4.1.1 #823

Description

@Zadigo

🐛 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-configexportdefaultdefineNuxtConfig({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']})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions