Styled-Components Solution

Styled-Components It's having an issue. I tried with upgrading and downgrading node and npm versions it always shows an error.

To Fix this use latest LTS v5.3.10 version of styled-components

For projects using JS/JSX(JavaScript)
npm i -D styled-components@5.3.10

For projects using TS/TSX(TypeScript)
npm i -D styled-components@5.3.10 @types/styled-components

10
Subscribe to my newsletter

Read articles from Ayoub ElGueddari directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Ayoub ElGueddari
Ayoub ElGueddari