我安装了最新的 Nuxt 3 以开始了解它可以做什么。
但是,当我跑步时
yarn dev
在 Vite 预热、Vite 服务器构建和 Nitro 构建后,我收到此错误。我看到的页面是空的,但当我刷新时,我仍然让我说“你好世界”。
任何人都可以帮忙吗?
谢谢
Server Side Rendering Error: TypeError [ERR_INVALID_ARG_VALUE]: The argument 'path' must be a string or Uint8Array without null bytes. Received '/Users/xxxxxx/vue_js_v3/nuxt_3/nuxt3-redo/\x00virtual:/Users/xxxxxx/vue_js_v3/nuxt_3/nuxt3-redo/.nuxt/css.mjs'
at statSync (fs.js:1124:10)
at tryStatSync (internal/modules/esm/resolve.js:109:13)
at finalizeResolution (internal/modules/esm/resolve.js:301:17)
at moduleResolve (internal/modules/esm/resolve.js:731:10)
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:842:11)
at Loader.resolve (internal/modules/esm/loader.js:89:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:242:28)
at Loader.import (internal/modules/esm/loader.js:177:28)
at importModuleDynamically (internal/modules/esm/translators.js:114:35)
at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14) {
code: 'ERR_INVALID_ARG_VALUE'
}