0

I'm trying to install tailwindcss in my Vue Js project using the following command:

npm install -D tailwindcss@latest

But I get this error:

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

There is a related topic here where the proposed solution is to set fsevents as devDependencies but it is not possible in this particular case.

user3192199
  • 31
  • 1
  • 5

2 Answers2

1

npm install -D -f tailwindcss@latest this forced the installation

Slawa
  • 1,141
  • 15
  • 21
0

I had the same problem while installing tailwind in my reactjs application. I could resolve the error by npm install -D -f tailwindcss@latest.

Saba
  • 376
  • 5
  • 19