vitesse-nuxt3
vitesse-nuxt3 copied to clipboard
After I pnpm dev......
[nuxt] [request error] Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:'
at new NodeError (node:internal/errors:371:5)
at defaultResolve (node:internal/modules/esm/resolve:1016:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
at ModuleWrap.
did you run pnpm i before run the dev command?
did you run
pnpm ibefore run the dev command?
Of course,The first thing I pulled the project down was pnpm i
This is an issue with the experimental feature viteNode. To fix this error, change your nuxt config to the following:
experimental: {
reactivityTransform: true,
// viteNode: true,
},
You can track the issue here: https://github.com/nuxt/nuxt.js/issues/13980
This is an issue with the experimental feature viteNode. To fix this error, change your nuxt config to the following:
experimental: { reactivityTransform: true, // viteNode: true, },You can track the issue here: nuxt/nuxt.js#13980
thank you!
Maby this feature need to be turned off in relise? because new project npx degit antfu/vitesse-nuxt3 my-nuxt3-app created this way, will fail from begining.
This seems to be fixed: https://github.com/nuxt/nuxt.js/issues/13980