Tailwind CSS安装在M1 Mac上不起作用

发布于 2025-01-31 10:55:30 字数 919 浏览 3 评论 0原文

我无法在2020年的MacBook Pro M1上安装tailwind CSS。 每当我尝试安装它

npm安装tailwindcss@最新

我得到:

npm警告ebadengine无支撑发动机{ NPM WARN EBADENGINE软件包:' npm警告ebadengine需要:{node:'> = 0.8< = 9'}, NPM警告Ebadengine电流:{node:'v18.0.0',npm:'8.10.0'> } NPM警告ebadengine}

最新的,4s

中的968个软件包审核

69个包裹正在寻找资金 运行NPM Fund有关详细信息

12个漏洞(2个中等,7个高,3关键)

要解决所有问题,请运行: NPM审核修复

运行NPM审核有关详细信息。

我确实跑了

NPM审核修复

NPM审核修复 - Force

,但仍然不起作用。 在我看来,尾风还没有支持M1。我还能使用它吗? 感谢您的帮助。

I can't install Tailwind CSS on my MacBook Pro M1, 2020.
Whenever I try to install it with

npm install tailwindcss@latest

I get :

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=0.8 <=9' },
npm WARN EBADENGINE current: { node: 'v18.0.0', npm: '8.10.0' > }
npm WARN EBADENGINE }

up to date, audited 968 packages in 4s

69 packages are looking for funding
run npm fund for details

12 vulnerabilities (2 moderate, 7 high, 3 critical)

To address all issues, run:
npm audit fix

Run npm audit for details.

I did run

npm audit fix

and

npm audit fix --force

But it still does not work.
It seems to me that Tailwind is not supporting M1 yet. Can I still use it?
Thanks for your help.

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

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

发布评论

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

评论(1

无人接听 2025-02-07 10:55:30

这只是一个警告,而不是直截了当的错误。

npm WARN EBADENGINE required: { node: '>=0.8 <=9' }

看来该软件包希望您使用0.8和9之间的节点版本。

npm WARN EBADENGINE current: { node: 'v18.0.0', npm: '8.10.0' > }

尽管这说明您当前正在使用版本18。
这意味着包装的某些功能可能无法按预期工作,但仍然可以。

It is just a WARN, not straight up an error.

npm WARN EBADENGINE required: { node: '>=0.8 <=9' }

This looks like the package expects you to use a version of the node between 0.8 and 9.

npm WARN EBADENGINE current: { node: 'v18.0.0', npm: '8.10.0' > }

While this says you are currently using version 18.
That means that some of the functionalities of the package may not work as intended, but it should still be fine.

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