title: I get internal server error while running next js app with styled component
body: <p>I'm using Next.js with styledcomponent, It gets no error in Dev mode. but while running in Build production mode. I get an error. without line number or file name.</p>
  
  <p>I have also opened an issue Github
  <a href="https://github.com/zeit/next.js/issues/5932" rel="nofollow noreferrer">https://github.com/zeit/next.js/issues/5932</a></p>
  
  <blockquote>
    <p><strong>ERROR</strong></p>
    
    <p>NODE_ENV=production node server.js</p>
    
    <p>Ready on <a href="http://localhost:3000" rel="nofollow noreferrer">http://localhost:3000</a>
    Error: An error occurred. See <a href="https://github.com/styled-components/styled-components/blob/master/src/utils/errors.md#1" rel="nofollow noreferrer">https://github.com/styled-components/styled-components/blob/master/src/utils/errors.md#1</a> for more information. Additional arguments: undefined
        at new StyledComponentsError (/Users/rahulkishan/Documents/React_Mobile_and_web/ReactWebV1/purchaseweb/node_modules/styled-components/dist/styled-components.cjs.js:161:58)
        at constructWithOptions (/Users/rahulkishan/Documents/React_Mobile_and_web/ReactWebV1/purchaseweb/node_modules/styled-components/dist/styled-components.cjs.js:2182:13)
        at styled (/Users/rahulkishan/Documents/React_Mobile_and_web/ReactWebV1/purchaseweb/node_modules/styled-components/dist/styled-components.cjs.js:2126:12)
        at Object. (/Users/rahulkishan/Documents/React_Mobile_and_web/ReactWebV1/purchaseweb/.next/server/static/i2aIDkRZkhvVhtPxvk4BE/pages/index.js:4504:77)</p>
  </blockquote>
  
  <p>Why it shows this error in Build mode only. Not in dev mode.
  We have built a large app.
  It is really difficult to find the problem.</p>