Failed to compile. 09:31:39 ModuleNotFoundError: Module not found: Error witth nextjs: Can't resolve 'styled-Components' in '/vercel/workpath0/pages/components' code example
Example: reactjs Module not found: Can't resolve 'styled-components
npm install styled-components --save
this should fix your problem