1
Good afternoon guys, I’m trying to run the Mean stack on my machine (Ubuntu 14.04, 64bits), I followed the step by step site and apparently everything went well when I run the cameo on the ternimal everything works fine, however when I access the url http://localhost:3000, is loading for a long period of time until error (Unable to connect in firefox).
The terminal log is as follows:
fabio@fabio:~/Área de Trabalho/mean/teste$ gulp
Invoking gulp - development
[12:06:32] Using gulpfile ~/Área de Trabalho/mean/teste/gulpfile.js
[12:06:32] Starting 'clean'...
[12:06:32] Finished 'clean' after 11 ms
[12:06:32] Starting 'default'...
[12:06:32] Starting 'webpack:build-dev'...
[12:06:32] Starting 'clean'...
[12:06:32] Starting 'less'...
[12:06:32] Starting 'sass'...
[12:06:32] Starting 'csslint'...
[12:06:32] Starting 'env:development'...
[12:06:32] Finished 'env:development' after 29 μs
[12:06:32] Starting 'devServe'...
[12:06:33] Finished 'devServe' after 129 ms
[12:06:33] Starting 'watch'...
[12:06:33] Finished 'watch' after 594 ms
[12:06:33] Finished 'clean' after 1.12 s
[12:06:33] [nodemon] 1.9.2
[12:06:33] [nodemon] to restart at any time, enter `rs`
[12:06:33] [nodemon] watching: *.*
[12:06:33] [nodemon] starting `node --debug server.js`
Debugger listening on port 5858
[12:06:34] Finished 'less' after 1.72 s
[12:06:34] Finished 'sass' after 1.51 s
Mean app started on port 3000 (development) cluster.worker.id: 0
[12:06:40] index.html reloaded.
[12:06:40] csslint: 3 files lint free
[12:06:40] Finished 'csslint' after 8.1 s
[12:07:02] [nodemon] restarting due to changes...
[12:07:02] [nodemon] restarting due to changes...
[12:07:02] [webpack:build-dev] Hash: 1d11601268546f7d8522
Version: webpack 1.13.0
Time: 29938ms
Asset Size Chunks Chunk Names
app.js 2.75 MB 0 [emitted] app
app.js.map 3.21 MB 0 [emitted] app
chunk {0} app.js, app.js.map (app) 2.68 MB [rendered]
[0] multi app 28 bytes {0} [built]
[1] ./app.js 1.66 kB {0} [built]
[2] ./bower_components/angular/angular-csp.css 937 bytes {0} [built]
[3] ./~/css-loader!./bower_components/angular/angular-csp.css 527 bytes {0} [built]
[4] ./~/css-loader/lib/css-base.js 1.51 kB {0} [built]
[5] ./~/style-loader/addStyles.js 7.15 kB {0} [built]
[6] ./~/angular-ui-select/select.min.css 870 bytes {0} [built]
[7] ./~/css-loader!./~/angular-ui-select/select.min.css 4.34 kB {0} [built]
[8] ./bower_components/bootstrap/dist/css/bootstrap.min.css 967 bytes {0} [built]
[9] ./~/css-loader!./bower_components/bootstrap/dist/css/bootstrap.min.css 122 kB {0} [built]
[10] ./bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot 26.9 kB {0} [built]
[11] ./bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 24.1 kB {0} [built]
[12] ./bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff 31.3 kB {0} [built]
[13] ./bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf 60.6 kB {0} [built]
[14] ./bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg 145 kB {0} [built]
[15] ./~/jquery/dist/jquery.js 259 kB {0} [built]
[16] ./bower_components/angular/index.js 48 bytes {0} [built]
[17] ./bower_components/angular/angular.js 1.15 MB {0} [built]
[18] ./~/angular-ui-select/select.js 76.4 kB {0} [built]
[19] ./bower_components/angular-mocks/angular-mocks.js 105 kB {0} [built]
[20] ./bower_components/angular-cookies/index.js 60 bytes {0} [built]
[21] ./bower_components/angular-cookies/angular-cookies.js 9.74 kB {0} [built]
[22] ./bower_components/angular-resource/index.js 62 bytes {0} [built]
[23] ./bower_components/angular-resource/angular-resource.js 31.3 kB {0} [built]
[24] ./bower_components/angular-sanitize/index.js 62 bytes {0} [built]
[25] ./bower_components/angular-sanitize/angular-sanitize.js 25.7 kB {0} [built]
[26] ./~/angular-ui-router/release/angular-ui-router.js 170 kB {0} [built]
[27] ./~/angular-jwt/index.js 67 bytes {0} [built]
[28] ./~/angular-jwt/dist/angular-jwt.js 3.63 kB {0} [built]
[29] ./bower_components/angular-bootstrap/ui-bootstrap-tpls.js 260 kB {0} [built]
[30] ./packages \/public\/(?!tests|assets|views)(.*)\.js$ 469 bytes {0} [built]
[31] ./packages/core/users/public/services/meanUser.js 6.56 kB {0} [optional] [built]
[32] ./packages/custom/teste/public/controllers/header.js 1.3 kB {0} [optional] [built]
[33] ./packages/custom/teste/public/controllers/index.js 2.11 kB {0} [optional] [built]
[34] ./packages/custom/teste/public/controllers/starter.js 363 bytes {0} [optional] [built]
[35] ./packages/custom/teste/public/index.js 129 bytes {0} [optional] [built]
[36] ./packages/custom/teste/public/assets/css/common.css 970 bytes {0} [built]
[37] ./~/css-loader!./packages/custom/teste/public/assets/css/common.css 1 kB {0} [built]
[38] ./packages/custom/teste/public/assets/css/loginForms.css 982 bytes {0} [built]
[39] ./~/css-loader!./packages/custom/teste/public/assets/css/loginForms.css 11.2 kB {0} [built]
[40] ./packages/custom/teste/public/assets/css/starter.css 973 bytes {0} [built]
[41] ./~/css-loader!./packages/custom/teste/public/assets/css/starter.css 5.02 kB {0} [built]
[42] ./packages/custom/teste/public/routes/system.js 522 bytes {0} [optional] [built]
[43] ./packages/custom/teste/public/routes/users.js 1.22 kB {0} [optional] [built]
[44] ./node_modules \/meanio-(admin|system|users|circles)\/public\/(?!tests|assets|views)(.*)\.js$ 1.39 kB {0} [built]
[45] ./~/meanio-admin/public/controllers/admin.js 1.08 kB {0} [optional] [built]
[46] ./~/meanio-admin/public/controllers/example.js 545 bytes {0} [optional] [built]
[47] ./~/meanio-admin/public/controllers/modules.js 413 bytes {0} [optional] [built]
[48] ./~/meanio-admin/public/controllers/settings.js 3.07 kB {0} [optional] [built]
[49] ./~/meanio-admin/public/controllers/themes.js 1.63 kB {0} [optional] [built]
[50] ./~/meanio-admin/public/controllers/users.js 3.13 kB {0} [optional] [built]
[51] ./~/meanio-admin/public/directives/editable.js 3.34 kB {0} [optional] [built]
[52] ./~/meanio-admin/public/index.js 119 bytes {0} [optional] [built]
[53] ./~/meanio-admin/public/assets/css/admin.css 891 bytes {0} [built]
[54] ./~/css-loader!./~/meanio-admin/public/assets/css/admin.css 3.04 kB {0} [built]
[55] ./~/meanio-admin/~/zeroclipboard/dist/ZeroClipboard.js 85.6 kB {0} [built]
[56] ./~/meanio-admin/~/ng-clip/dest/ng-clip.min.js 1.18 kB {0} [built]
[57] ./~/meanio-admin/public/routes/admin.js 1.22 kB {0} [optional] [built]
[58] ./~/meanio-admin/public/services/module-settings.js 992 bytes {0} [optional] [built]
[59] ./~/meanio-admin/public/services/modules.js 341 bytes {0} [optional] [built]
[60] ./~/meanio-admin/public/services/settings.js 1.01 kB {0} [optional] [built]
[61] ./~/meanio-admin/public/services/users.js 314 bytes {0} [optional] [built]
[62] ./~/meanio-circles/public/controllers/circles.js 736 bytes {0} [optional] [built]
[63] ./~/meanio-circles/public/index.js 51 bytes {0} [optional] [built]
[64] ./~/meanio-circles/public/assets/css/circles.css 897 bytes {0} [built]
[65] ./~/css-loader!./~/meanio-circles/public/assets/css/circles.css 524 bytes {0} [built]
[66] ./~/meanio-circles/public/routes/circles.js 1.6 kB {0} [optional] [built]
[67] ./~/meanio-circles/public/services/circles.js 491 bytes {0} [optional] [built]
[68] ./~/meanio-system/public/routes/system.js 1.23 kB {0} [optional] [built]
[69] ./~/meanio-system/public/services/config.js 554 bytes {0} [optional] [built]
[70] ./~/meanio-system/public/services/global.js 3.82 kB {0} [optional] [built]
[71] ./~/meanio-system/public/services/interceptor.js 826 bytes {0} [optional] [built]
[72] ./~/meanio-system/public/services/menus.js 218 bytes {0} [optional] [built]
[73] ./~/meanio-system/public/system.js 522 bytes {0} [optional] [built]
[74] ./~/meanio-users/public/controllers/meanUser.js 4.07 kB {0} [optional] [built]
[75] ./~/meanio-users/public/index.js 38 bytes {0} [optional] [built]
[76] ./~/meanio-users/public/routes/auth.js 346 bytes {0} [optional] [built]
[77] ./~/meanio-users/public/services/meanUser.js 6.58 kB {0} [optional] [built]
[12:07:02] Finished 'webpack:build-dev' after 30 s
[12:07:02] Starting 'development'...
[12:07:02] Finished 'development' after 9.9 μs
[12:07:02] [nodemon] starting `node --debug server.js`
Debugger listening on port 5858
Mean app started on port 3000 (development) cluster.worker.id: 0
[12:07:05] index.html reloaded.
GET / - - - - ms
GET / - - - - ms
I wonder if anyone can help me, I believe it’s some configuration but I have no idea what it might be.
How is your file
.js
where you have the route configuration?– Sergio
The files are structured in the same way as the one generated by the Mean stack the application routes are within: project folder/Packages/core/users/server/Routes
– 1fabiopereira