在NUXT 3中设置逆风

发布于 2025-02-07 22:34:13 字数 546 浏览 0 评论 0原文

我很难设置NUXT 3,并且运行DEV服务器时,我会遇到此错误,我遵循从尾风文档逐步逐步进行安装指令。

错误无法重新启动NUXT:PostCSS@8与NUXT的当前版本(0.0.0)不兼容。预期:> = 2.15.3

at Object.postcss8Module (node_modules/@nuxt/postcss8/dist/index.js:19:11)
  at installModule (node_modules/@nuxt/kit/dist/index.mjs:398:20)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:1334:7)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:6741:9)
  at async _applyPromised (node_modules/nuxi/dist/chunks/dev.mjs:6693:10)```

Could someone please help I am lost.

I am having trouble setting up nuxt 3 and when I run dev server I keep getting this error, I followed the install instructions step by step from the tailwind docs.

ERROR Cannot restart nuxt: postcss@8 is not compatible with current version of nuxt (0.0.0). Expected: >=2.15.3

at Object.postcss8Module (node_modules/@nuxt/postcss8/dist/index.js:19:11)
  at installModule (node_modules/@nuxt/kit/dist/index.mjs:398:20)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:1334:7)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:6741:9)
  at async _applyPromised (node_modules/nuxi/dist/chunks/dev.mjs:6693:10)```

Could someone please help I am lost.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

金橙橙 2025-02-14 22:34:13

我只需要卸载 @nuxt/postcss8即可。

I just needed to uninstall @nuxt/postcss8.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文