skip to Main Content

When I was trying instal Tailwind on my vite react project with this command

> npm install -D tailwindcss postcss autoprefixer
I see this report

3 moderate vulnerabilities: added 92 packages, and audited 308 packages in 9s

125 packages are looking for funding run npm fund for details

3 moderate severity vulnerabilities

To address all issues, run: npm audit fix

Run npm audit for details.

I run npm audit fix and I see this bug error

up to date, audited 308 packages in 2s

125 packages are looking for funding run npm fund for details

npm audit report
micromatch * Severity: moderate Regular Expression Denial of Service (ReDoS) in micromatch - https://github.com/advisories/GHSA-952p-6rrq-rcjv fix available via npm audit fix --force Will install [email protected], which is a breaking change node_modules/micromatch fast-glob * Depends on vulnerable versions of micromatch node_modules/fast-glob tailwindcss <=0.0.0-oxide-insiders.ff2c25f || 2.1.0-canary.1 - 3.4.10 Depends on vulnerable versions of fast-glob Depends on vulnerable versions of micromatch node_modules/tailwindcss

3 moderate severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force 

I was trying run this command npm audit fix –force and doenst work

I want to fix this Vulnerability

2

Answers


  1. I am having this issue just like you, I really need the solution, I have been smacking my head to fix the issue from past 3 hours 🙂

    Login or Signup to reply.
  2. do npm i [email protected] worked for me

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search