Create-nuxt-app: Application doesn't work

Created on 25 Nov 2019  路  3Comments  路  Source: nuxt/create-nuxt-app

I have tried creating a new project with npx create-nuxt-app name-project command.

npm run dev

I have tried with or without UI framework / server framework and I have tried changing UI framework and server framework the results are not working well.

bug-report

Most helpful comment

I was having a similar issue with setting up a project. Everything would work up until running npm run dev on the project. The client bundle wouldn't load and the site wouldn't show.

There seems to be a problem with selecting StyleLint in the "Choose linting tools" step of the project setup. When I didn't pick this linting option everything worked.

@itgelo Are you also selecting linting tools?

All 3 comments

I was having a similar issue with setting up a project. Everything would work up until running npm run dev on the project. The client bundle wouldn't load and the site wouldn't show.

There seems to be a problem with selecting StyleLint in the "Choose linting tools" step of the project setup. When I didn't pick this linting option everything worked.

@itgelo Are you also selecting linting tools?

@alxrb you are right, after uncheck StyleLint everything works fine.
so what's up with StyleLint?

the stylelint.config.js needs a rules property in order to work.

module.exports = {
  // add your custom config here
  // https://stylelint.io/user-guide/configuration
  rules: []
}
Was this page helpful?
0 / 5 - 0 ratings