angularjs - R10 boot timeout error deploying Angular 2 to Heroku -
i'm trying deploy angular 2 app heroku. it's building fine, , works fine on local system, error:
2016-07-11t11:01:22.279789+00:00 app[web.1]: > tlbi@4.0.0 start /app 2016-07-11t11:01:29.109068+00:00 app[web.1]: [1] 2016-07-11t11:01:29.109079+00:00 app[web.1]: [1] > tlbi@4.0.0 lite /app 2016-07-11t11:01:29.187537+00:00 app[web.1]: [0] > tlbi@4.0.0 tscw /app 2016-07-11t11:01:29.888677+00:00 app[web.1]: [1] did not detect `bs-config.json` or `bs-config.js` override file. using lite-server defaults... 2016-07-11t11:01:29.890117+00:00 app[web.1]: [1] ** browser-sync config ** 2016-07-11t11:01:29.904639+00:00 app[web.1]: [1] watchoptions: { ignored: 'node_modules' }, 2016-07-11t11:01:29.904641+00:00 app[web.1]: [1] server: { basedir: './', middleware: [ [function], [function] ] } } 2016-07-11t11:01:30.090493+00:00 app[web.1]: [1] [bs] access urls: 2016-07-11t11:01:30.090728+00:00 app[web.1]: [1] --------------------------------------- 2016-07-11t11:01:30.091252+00:00 app[web.1]: [1] local: http://localhost:3000 2016-07-11t11:01:30.091731+00:00 app[web.1]: [1] external: http://172.17.133.154:3000 2016-07-11t11:01:30.093555+00:00 app[web.1]: [1] ui external: http://172.17.133.154:3001 2016-07-11t11:01:30.094251+00:00 app[web.1]: [1] --------------------------------------- 2016-07-11t11:01:30.094919+00:00 app[web.1]: [1] [bs] serving files from: ./ 2016-07-11t11:01:30.106268+00:00 app[web.1]: [1] [bs] watching files... 2016-07-11t11:01:34.805688+00:00 app[web.1]: [1] [bs] file changed: js/classes/event.js 2016-07-11t11:01:34.818504+00:00 app[web.1]: [1] [bs] file changed: js/classes/helper.js 2016-07-11t11:01:34.883314+00:00 app[web.1]: [1] [bs] file changed: js/services/herdservice.js 2016-07-11t11:01:34.994936+00:00 app[web.1]: [1] [bs] file changed: js/services/chartservice.js 2016-07-11t11:01:34.995623+00:00 app[web.1]: [1] [bs] file changed: js/helpers/search.js 2016-07-11t11:01:35.016882+00:00 app[web.1]: [1] [bs] file changed: js/components/groups.js 2016-07-11t11:01:35.024795+00:00 app[web.1]: [1] [bs] file changed: js/components/animal/pedigree-mini.js 2016-07-11t11:01:35.039718+00:00 app[web.1]: [1] [bs] file changed: js/components/animal/details.js 2016-07-11t11:01:35.064949+00:00 app[web.1]: [1] [bs] file changed: js/components/app.js 2016-07-11t11:01:35.080899+00:00 app[web.1]: [1] [bs] file changed: js/helpers/import.js 2016-07-11t11:01:35.091307+00:00 app[web.1]: [1] [bs] file changed: js/services/animalservice.js 2016-07-11t11:01:35.114542+00:00 app[web.1]: [0] 11:01:35 - compilation complete. watching file changes. 2016-07-11t11:02:20.833608+00:00 heroku[web.1]: stopping process sigkill 2016-07-11t11:02:20.833608+00:00 heroku[web.1]: error r10 (boot timeout) -> web process failed bind $port within 60 seconds of launch 2016-07-11t11:02:21.723733+00:00 heroku[web.1]: state changed starting crashed 2016-07-11t11:02:21.704172+00:00 heroku[web.1]: process exited status 137
i have feeling it's binding port, i'm not sure configured in angular 2 - can't find server files @ all.
thanks
Comments
Post a Comment