express-js-bootstrap icon indicating copy to clipboard operation
express-js-bootstrap copied to clipboard

🐛 Linter errors when new project is created

Open eledwinn opened this issue 5 years ago • 3 comments

🐛 Bug Report

Linter errors when new project is created.

/Users/edwingomez/code/e/e-temple-api/config/index.js
  55:1  error  Parsing error: Unexpected token

/Users/edwingomez/code/e/e-temple-api/console.js
  17:81  error  Parsing error: Unexpected token else

/Users/edwingomez/code/e/e-temple-api/migrations/index.js
  34:4  error  Parsing error: Unexpected token )

Steps to Reproduce

  • Run yo w-express-js
  • Use empty git repository
  • Response n in "Are you in WTraining ?""
  • Use my-project-api as name
  • Use default description
  • Use 10.14.1 node version
  • Use 6.4.1 npm version
  • Use sequelize
  • Use 5.10.1 sequelize version
  • Use mysql Database Dialect
  • Use heroku as deploy strategy
  • Response n for docker question
  • Select rollbar and cors as optional features
  • Use travis CI
  • Use jest testing

Expected behavior

No linter errors.

eledwinn avatar Oct 03 '19 22:10 eledwinn

Which version of the bootstrap did you use? The actual is 1.0.7

raparicio6 avatar Oct 03 '19 23:10 raparicio6

Hi @eledwinn , I added tests to validate linter in the projects here

molinajulian avatar Mar 04 '20 18:03 molinajulian

I would like to see something in the README.md file that tells users that the bootstrap version should always be updated before run. yo w-express-js. What do you think @molinajulian ? That would be a good way to close this issue.

eledwinn avatar Mar 05 '20 17:03 eledwinn