title: nuxt pm2-runtime No pages directory found
body: <p>I have created a standard nuxt project (<code>npx create-nuxt-app</code>) and want to deploy it on the server with <code>pm2-runtime</code>. I have <code>node v10.16.0</code> and <code>npm 6.9.0</code>. So I followed the documentation on the nuxt site: <a href="https://nuxtjs.org/faq/deployment-pm2" rel="nofollow noreferrer">https://nuxtjs.org/faq/deployment-pm2</a></p>
  <p>First I run <code>npm run build</code>, then I run <code>pm2-runtime ecosystem.config.js</code>. The problem I receive is the following:</p>
  <pre><code>ℹ Preparing project for development                                                                                                                                                                                                       13:33:36
  ℹ Initial build may take a while                                                                                                                                                                                                          13:33:36
  ERROR  No pages directory found in /Users/Sites/nuxtapp/ecosystem.config.js. Did you mean to run nuxt in the parent (../) directory?                                                                                13:33:36
    at Builder.validatePages (node_modules/@nuxt/builder/dist/builder.js:5653:13)
  </code></pre>
  <p>My <code>ecosystem.config.js</code> is as following:</p>
  <pre><code>module.exports = {
      apps: [
          {
              name: 'nuxtapp',
              exec_mode: 'cluster',
              cwd: './',
              instances: 'max',
              script: './node_modules/nuxt/bin/nuxt.js',
              args: 'start',
          },
      ],
  }
  </code></pre>
  <p>What am I doing wrong here?</p>