close

[Solved] Module not found: Can’t resolve ‘styled-component’

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Module not found: Can’t resolve ‘styled-component’ in reactjs. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How To Solve Module not found: Can’t resolve ‘styled-component’ Error ?

  1. How To Solve Module not found: Can't resolve 'styled-component' Error?

    To Solve Module not found: Can't resolve 'styled-component' Error just type npm i styled-components in your terminal You are missing the “s” at the end of “styled-components” that's why you are facing this error.

  2. Module not found: Can't resolve 'styled-component'

    To Solve Module not found: Can't resolve 'styled-component' Error just type npm i styled-components in your terminal You are missing the “s” at the end of “styled-components” that's why you are facing this error.

Solution 1

You are missing the “s” at the end of “styled-components”

$ npm i styled-components

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment