Skip to content

App build fails after customizing the app #210

Open
@vinayakvinay

Description

@vinayakvinay

@ilanbiala @codydaig

Hello there,

I have latest mean generator installed in my machine. I use yo meanjs to scaffold the MEAN app. When I edit the crud module what I generated the test results 50 lines of warning and error. I reverted all the changes I done and set the app to fresh/initial state what yeoman generated but still I am getting the following errors.

`vinayak@vinayak-Lenovo-G500:/var/www/html/yeoman/vin$ cd vinayaka && grunt
Running "env:dev" (env) task

Running "sass:dist" (sass) task

Running "less:dist" (less) task

Running "eslint:target" (eslint) task

/var/www/html/yeoman/vin/vinayaka/gruntfile.js
268:11 warning Unexpected console statement no-console
270:11 warning Unexpected console statement no-console

/var/www/html/yeoman/vin/vinayaka/config/config.js
58:3 warning Unexpected console statement no-console
61:7 warning Unexpected console statement no-console
63:7 warning Unexpected console statement no-console
68:3 warning Unexpected console statement no-console
85:5 warning Unexpected console statement no-console
86:5 warning Unexpected console statement no-console
87:5 warning Unexpected console statement no-console
103:7 warning Unexpected console statement no-console
104:7 warning Unexpected console statement no-console
105:7 warning Unexpected console statement no-console
106:7 warning Unexpected console statement no-console

/var/www/html/yeoman/vin/vinayaka/config/lib/app.js
14:5 warning Unexpected console statement no-console
45:7 warning Unexpected console statement no-console
46:7 warning Unexpected console statement no-console
47:7 warning Unexpected console statement no-console
48:7 warning Unexpected console statement no-console
49:7 warning Unexpected console statement no-console
50:7 warning Unexpected console statement no-console
51:7 warning Unexpected console statement no-console
53:9 warning Unexpected console statement no-console
54:7 warning Unexpected console statement no-console

/var/www/html/yeoman/vin/vinayaka/config/lib/express.js
202:5 warning Unexpected console statement no-console

/var/www/html/yeoman/vin/vinayaka/config/lib/logger.js
34:7 warning Unexpected console statement no-console
35:7 warning Unexpected console statement no-console
36:7 warning Unexpected console statement no-console
100:9 warning Unexpected console statement no-console
101:9 warning Unexpected console statement no-console
102:9 warning Unexpected console statement no-console
103:9 warning Unexpected console statement no-console

/var/www/html/yeoman/vin/vinayaka/config/lib/mongoose.js
28:7 warning Unexpected console statement no-console
29:7 warning Unexpected console statement no-console
43:5 warning Unexpected console statement no-console

/var/www/html/yeoman/vin/vinayaka/config/lib/seed.js
60:9 warning Unexpected console statement no-console
105:7 warning Unexpected console statement no-console
106:7 warning Unexpected console statement no-console
107:7 warning Unexpected console statement no-console

/var/www/html/yeoman/vin/vinayaka/modules/inwards/server/controllers/inwards.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

/var/www/html/yeoman/vin/vinayaka/modules/inwards/client/inwards.client.module.js
1:1 error Move the invocation into the parens that contain the function wrap-iife

/var/www/html/yeoman/vin/vinayaka/modules/inwards/client/config/inwards.client.config.js
1:1 error Move the invocation into the parens that contain the function wrap-iife

/var/www/html/yeoman/vin/vinayaka/modules/inwards/client/config/inwards.client.routes.js
1:1 error Move the invocation into the parens that contain the function wrap-iife
36:11 error Extra space after key 'pageTitle' key-spacing
60:14 error Missing space before value for key 'data' key-spacing

/var/www/html/yeoman/vin/vinayaka/modules/inwards/client/controllers/inwards.client.controller.js
1:1 error Move the invocation into the parens that contain the function wrap-iife
23:11 warning Unexpected confirm no-alert

/var/www/html/yeoman/vin/vinayaka/modules/inwards/client/controllers/list-inwards.client.controller.js
1:1 error Move the invocation into the parens that contain the function wrap-iife

/var/www/html/yeoman/vin/vinayaka/modules/inwards/client/services/inwards.client.service.js
1:1 error Expected space or tab after '//' in comment spaced-comment
2:1 error Move the invocation into the parens that contain the function wrap-iife

/var/www/html/yeoman/vin/vinayaka/modules/inwards/tests/server/inward.server.model.tests.js
14:11 error Expected variable declaration to be on a new line one-var-declaration-per-line
30:27 error Trailing spaces not allowed no-trailing-spaces
49:89 error Trailing spaces not allowed no-trailing-spaces
59:29 error Trailing spaces not allowed no-trailing-spaces
60:36 error Missing space before opening brace space-before-blocks
61:36 error Missing space before opening brace space-before-blocks
62:16 error Trailing spaces not allowed no-trailing-spaces

/var/www/html/yeoman/vin/vinayaka/modules/inwards/tests/server/inward.server.routes.tests.js
14:10 error Expected variable declaration to be on a new line one-var-declaration-per-line
14:17 error Expected variable declaration to be on a new line one-var-declaration-per-line
14:30 error Expected variable declaration to be on a new line one-var-declaration-per-line
14:36 error Expected variable declaration to be on a new line one-var-declaration-per-line

/var/www/html/yeoman/vin/vinayaka/modules/inwards/tests/client/inwards.client.controller.tests.js
1:1 error Move the invocation into the parens that contain the function wrap-iife
66:7 error Expected space or tab after '//' in comment spaced-comment
144:9 error Expected space or tab after '//' in comment spaced-comment
149:9 error Expected space or tab after '//' in comment spaced-comment
161:9 error Expected space or tab after '//' in comment spaced-comment

/var/www/html/yeoman/vin/vinayaka/modules/inwards/tests/client/inwards.client.routes.tests.js
1:1 error Move the invocation into the parens that contain the function wrap-iife
9:5 error Expected space or tab after '//' in comment spaced-comment
56:11 error Expected space or tab after '//' in comment spaced-comment
103:11 error Expected space or tab after '//' in comment spaced-comment
152:11 error Expected space or tab after '//' in comment spaced-comment

/var/www/html/yeoman/vin/vinayaka/modules/inwards/tests/client/list-inwards.client.controller.tests.js
1:1 error Move the invocation into the parens that contain the function wrap-iife
65:7 error Expected space or tab after '//' in comment spaced-comment

✖ 76 problems (37 errors, 39 warnings)

Warning: Task "eslint:target" failed. Use --force to continue.

Aborted due to warnings.
`

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions