shuriken-ui / nuxt

Nuxt version of Shuriken UI with ready to use components
https://shurikenui.com/
MIT License
139 stars 18 forks source link

[bug] Unable to load static components definitions on Windows #124

Open miztizm opened 2 weeks ago

miztizm commented 2 weeks ago

Hello, i always getting this error, how can a fix or where do i patch it ? Thanks

Nuxt 3.11.2 with Nitro 2.9.6

> pnpm run dev

ℹ Using default Tailwind CSS file                                   nuxt:tailwindcss 23:27:14

[23:27:21]  ERROR  Unable to load static components definitions from "@shuriken-ui/nuxt/component-meta" 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 'k:'

  at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:239:11)
  at defaultLoad (node:internal/modules/esm/load:130:3)
  at ModuleLoader.load (node:internal/modules/esm/loader:403:13)
  at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:285:56)
  at new ModuleJob (node:internal/modules/esm/module_job:65:26)
  at #createModuleJob (node:internal/modules/esm/loader:297:17)
  at ModuleLoader.getJobFromResolveResult (node:internal/modules/esm/loader:254:34)
  at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:235:17)
  at async ModuleLoader.import (node:internal/modules/esm/loader:322:23)
linear[bot] commented 2 weeks ago

NUI-21 [bug] Unable to load static components definitions on Windows