'Tailwind CSS install does not work on M1 Mac

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.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source