Cannot find module 'styled-components/macro' code example
Example 1: reactjs Module not found: Can't resolve 'styled-components
npm install styled-components --save
this should fix your problem
Example 2: styled componets npm
npm i styled-components