Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors after creating CRUD-Operations #221

Open
alexanderbluhm opened this issue May 5, 2016 · 1 comment
Open

Errors after creating CRUD-Operations #221

alexanderbluhm opened this issue May 5, 2016 · 1 comment

Comments

@alexanderbluhm
Copy link

I run the following command yo meanjs:crud-module mod.
Then I get this as output
create modules/mods/client/config/mods.client.routes.js create modules/mods/client/controllers/mods.client.controller.js create modules/mods/client/controllers/list-mods.client.controller.js create modules/mods/client/services/mods.client.service.js create modules/mods/tests/client/mods.client.controller.tests.js create modules/mods/tests/client/mods.client.routes.tests.js create modules/mods/tests/client/list-mods.client.controller.tests.js create modules/mods/client/views/form-mod.client.view.html create modules/mods/client/views/view-mod.client.view.html create modules/mods/client/views/list-mods.client.view.html create modules/mods/client/config/mods.client.config.js create modules/mods/client/mods.client.module.js create modules/mods/tests/e2e/mods.e2e.tests.js create modules/mods/server/config/mods.server.config.js create modules/mods/server/controllers/mods.server.controller.js create modules/mods/server/models/mod.server.model.js create modules/mods/server/routes/mods.server.routes.js create modules/mods/server/policies/mods.server.policy.js create modules/mods/tests/server/mod.server.model.tests.js create modules/mods/tests/server/mod.server.routes.tests.js

When I now run grunt I get a list of errors:
`/Users/.../Documents/evda/mean/modules/entities/server/controllers/entities.server.controller.js
39:115 error Unnecessary use of boolean literals in conditional expression no-unneeded-ternary
48:27 error Unexpected whitespace before semicolon semi-spacing
50:28 error There should be no space before ',' comma-spacing
67:27 error Unexpected whitespace before semicolon semi-spacing
83:36 error Trailing spaces not allowed no-trailing-spaces

/Users/.../Documents/evda/mean/modules/mods/server/controllers/mods.server.controller.js
39:106 error Unnecessary use of boolean literals in conditional expression no-unneeded-ternary
48:21 error Unexpected whitespace before semicolon semi-spacing
50:22 error There should be no space before ',' comma-spacing
67:21 error Unexpected whitespace before semicolon semi-spacing
83:36 error Trailing spaces not allowed no-trailing-spaces

....`

Has anyone an idea how I can fix this?

@jedau
Copy link

jedau commented May 9, 2016

@IL4Miy that looks the same as this: #220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants