Tailwind CSS安装在M1 Mac上不起作用
我无法在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
runnpm fund
for details12 vulnerabilities (2 moderate, 7 high, 3 critical)
To address all issues, run:
npm audit fixRun
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这只是一个警告,而不是直截了当的错误。
看来该软件包希望您使用0.8和9之间的节点版本。
尽管这说明您当前正在使用版本18。
这意味着包装的某些功能可能无法按预期工作,但仍然可以。
It is just a WARN, not straight up an error.
This looks like the package expects you to use a version of the node between 0.8 and 9.
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.