【发布时间】:2021-07-02 09:04:57
【问题描述】:
我正在尝试使用以下命令在我的 Vue Js 项目中安装 tailwindcss:
npm install -D tailwindcss@latest
但我收到此错误:
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64
有一个相关主题here 建议的解决方案是将 fsevents 设置为 devDependencies 但在此特定情况下是不可能的案例。
【问题讨论】:
标签: linux tailwind-css fsevents