title: Google AMP with nuxt.js
body: <p>I am trying to create Google AMP site using Nuxt.js for that I am following <a href="https://github.com/nuxt/nuxt.js/tree/dev/examples/with-amp" rel="nofollow noreferrer">Nuxt-Amp</a> example.
  But when run the npm run dev the server starts at URL <a href="http://localhost:3000" rel="nofollow noreferrer">http://localhost:3000</a> but when I visit the URL console shows:</p>
  
  <pre><code>ERROR  render:route
  
    TypeError: Cannot destructure property `req` of 'undefined' or 'null'.
  
    - nuxt.config.js:34 render:route
      /Desktop/workspace/javascript/withamp/nuxt.config.js:34:21
  
    - nuxt.js:122 fn
      [with-amp]/[nuxt]/lib/core/nuxt.js:122:47
  
    - utils.js:96 promise.then
      [with-amp]/[nuxt]/lib/common/utils.js:96:43
  
  
    - next_tick.js:160 process._tickCallback
  </code></pre>
  
  <p>P.S.: I have not made any changes to nuxt.config.js.</p>
  
  <p>Node Version : 9.2</p>
  
  <p>Npm Version : 5.6</p>
  
  <p>Also, the page loading is very slow.</p>