在NUXT 3中设置逆风
我很难设置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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我只需要卸载 @nuxt/postcss8即可。
I just needed to uninstall @nuxt/postcss8.