Create-nuxt-app: Nuxt.js appl not compiling client

Created on 26 Nov 2019  Â·  5Comments  Â·  Source: nuxt/create-nuxt-app

Most helpful comment

I think the cause could be StyleLint, when I don't select that it works well.

Or put a valid config inside stylelint.config.js…

I can confirm that
A) This is broken out of the box
B) The empty style lint.config.js _is_ the culprit.

Currently the installed style lint.config.js looks like this:

module.exports = {
  // add your custom config here
  // https://stylelint.io/user-guide/configuration
}

A blank default should instead look like this:

module.exports = {
  "rules": {
    // add your custom config here
    // https://stylelint.io/user-guide/configuration
  }
}

I confirmed that the latter config file is the minimum required to properly build the client

All 5 comments

I think the cause could be StyleLint, when I don't select that it works well.

I think same issue
nuxt/nuxt.js#6730

I think the cause could be StyleLint, when I don't select that it works well.

Or put a valid config inside stylelint.config.js…

I think the cause could be StyleLint, when I don't select that it works well.

Or put a valid config inside stylelint.config.js…

I can confirm that
A) This is broken out of the box
B) The empty style lint.config.js _is_ the culprit.

Currently the installed style lint.config.js looks like this:

module.exports = {
  // add your custom config here
  // https://stylelint.io/user-guide/configuration
}

A blank default should instead look like this:

module.exports = {
  "rules": {
    // add your custom config here
    // https://stylelint.io/user-guide/configuration
  }
}

I confirmed that the latter config file is the minimum required to properly build the client

The same problem, I removed stylelint and finally it works.

Was this page helpful?
0 / 5 - 0 ratings