Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Mean Stack on CentOS not working #1985

Open
A-Pradeep opened this issue Aug 16, 2018 · 0 comments
Open

Mean Stack on CentOS not working #1985

A-Pradeep opened this issue Aug 16, 2018 · 0 comments

Comments

@A-Pradeep
Copy link

Hi im using the CentOS 6.8 and im facing this unusual error while running the command npm start.
The server will start with 47 error and at last it will endup in the 0.0.0.0:3000 . and i've changed to
working domain , but still no use.

Below is the output of the console

npm start

[email protected] start /home/mykampaign/public_html/testplan/mean
gulp

[18:04:16] Using gulpfile /home/mykampaign/public_html/testplan/mean/gulpfile.js
[18:04:16] Starting 'default'...
[18:04:16] Starting 'env:dev'...
[18:04:16] Finished 'env:dev' after 142 μs
[18:04:16] Starting 'copyLocalEnvConfig'...
[18:04:16] Starting 'makeUploadsDir'...
[18:04:16] Finished 'makeUploadsDir' after 266 μs
[18:04:16] Finished 'copyLocalEnvConfig' after 46 ms
[18:04:16] Starting 'lint'...
[18:04:16] Starting 'less'...
[18:04:17] Finished 'less' after 490 ms
[18:04:17] Starting 'sass'...
[18:04:17] Finished 'sass' after 131 ms
[18:04:17] Starting 'csslint'...
[18:04:17] Starting 'eslint'...
(node:10139) DeprecationWarning: [eslint] The 'ecmaFeatures' config file property is deprecated, and has no effect. (found in airbnb/legacy)
[18:04:18] Finished 'csslint' after 1.13 s
[18:04:22]
/home/mykampaign/public_html/testplan/mean/gulpfile.js
120:1 error Expected indentation of 2 spaces but found 4 indent
121:1 error Expected indentation of 2 spaces but found 4 indent

/home/mykampaign/public_html/testplan/mean/modules/users/server/config/strategies/google.js
21:1 error Expected indentation of 2 spaces but found 4 indent
22:1 error Expected indentation of 4 spaces but found 6 indent
23:1 error Expected indentation of 4 spaces but found 6 indent
24:1 error Expected indentation of 4 spaces but found 6 indent
25:1 error Expected indentation of 4 spaces but found 6 indent
27:1 error Expected indentation of 4 spaces but found 6 indent
28:1 error Expected indentation of 4 spaces but found 6 indent
29:1 error Expected indentation of 6 spaces but found 8 indent
30:1 error Expected indentation of 6 spaces but found 8 indent
31:1 error Expected indentation of 6 spaces but found 8 indent
32:1 error Expected indentation of 6 spaces but found 8 indent
33:1 error Expected indentation of 6 spaces but found 8 indent
34:1 error Expected indentation of 6 spaces but found 8 indent
35:1 error Expected indentation of 6 spaces but found 8 indent
36:1 error Expected indentation of 6 spaces but found 8 indent
37:1 error Expected indentation of 6 spaces but found 8 indent
38:1 error Expected indentation of 4 spaces but found 6 indent
41:1 error Expected indentation of 4 spaces but found 6 indent
42:1 error Expected indentation of 2 spaces but found 4 indent

/home/mykampaign/public_html/testplan/mean/modules/core/client/services/interceptors/auth-interceptor.client.service.js
34:21 error Multiple spaces found before '// Handle erro...' no-multi-spaces

/home/mykampaign/public_html/testplan/mean/modules/users/tests/server/user.server.model.tests.js
263:1 error Expected indentation of 8 spaces but found 6 indent
264:1 error Expected indentation of 10 spaces but found 8 indent
265:1 error Expected indentation of 10 spaces but found 8 indent
266:1 error Expected indentation of 12 spaces but found 10 indent
267:1 error Expected indentation of 10 spaces but found 8 indent
268:1 error Expected indentation of 8 spaces but found 6 indent
269:1 error Expected indentation of 8 spaces but found 6 indent
270:1 error Expected indentation of 10 spaces but found 8 indent
271:1 error Expected indentation of 8 spaces but found 6 indent

/home/mykampaign/public_html/testplan/mean/modules/users/tests/server/user.server.routes.tests.js
487:1 error Expected indentation of 14 spaces but found 12 indent
488:1 error Expected indentation of 14 spaces but found 12 indent
490:1 error Expected indentation of 16 spaces but found 14 indent
491:1 error Expected indentation of 18 spaces but found 16 indent
492:1 error Expected indentation of 16 spaces but found 14 indent
494:1 error Expected indentation of 16 spaces but found 14 indent
496:1 error Expected indentation of 16 spaces but found 14 indent
497:1 error Expected indentation of 14 spaces but found 12 indent
521:1 error Expected indentation of 12 spaces but found 10 indent
522:1 error Expected indentation of 12 spaces but found 10 indent
524:1 error Expected indentation of 14 spaces but found 12 indent
525:1 error Expected indentation of 16 spaces but found 14 indent
526:1 error Expected indentation of 14 spaces but found 12 indent
528:1 error Expected indentation of 14 spaces but found 12 indent
530:1 error Expected indentation of 14 spaces but found 12 indent
531:1 error Expected indentation of 12 spaces but found 10 indent

✖ 47 problems (47 errors, 0 warnings)
47 errors, 0 warnings potentially fixable with the --fix option.

[18:04:22] Finished 'eslint' after 4.89 s
[18:04:22] Finished 'lint' after 5.55 s
[18:04:22] Starting 'nodemon'...
[18:04:22] Finished 'nodemon' after 60 ms
[18:04:22] Starting 'watch'...
[18:04:22] Finished 'watch' after 158 ms
[18:04:22] Finished 'default' after 5.82 s
[18:04:22] [nodemon] 1.11.0
[18:04:22] [nodemon] to restart at any time, enter rs
[18:04:22] [nodemon] ignoring: /home/mykampaign/public_html/testplan/mean/.git//* .nyc_output .sass-cache bower_components coverage /home/mykampaign/public_html/testplan/mean/node_modules//*
[18:04:22] [nodemon] watching: modules//server/views/.html server.js config//.js modules//server//.js modules//server/config/*.js
[18:04:22] [nodemon] watching extensions: js,html
[18:04:22] [nodemon] starting node --inspect server.js
[18:04:22] [nodemon] child pid: 10150

[18:04:22] [nodemon] watching 175 files

  • Important warning: config.domain is empty. It should be set to the fully qualified domain of the app.
    --
    MEAN.JS - Development Environment

Environment: development
Server: http://0.0.0.0:3000
Database: mongodb://localhost/mean-dev
App version: 0.6.0
MEAN.JS version: 0.6.0

Any suggestions to sort this out or what and where should i change the domain to .
Thank You

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

No branches or pull requests

1 participant