Hi -
I'm new to MEAN stack and Heroku. I have finished my application and now
ready to push it to heroku. My app builds locally and when deployed to
heroku it builds and in the console I see my console message that it has
connected to the db successfully. When the page open its blank but my
favicion appears and looking in the network I see bootstrap and other css
files successful.
Any suggestion would be great stuck on this now for 2 days!!
link to angular build directory
app.use(express.static(__dirname + '/src'));
package.json
{
"name": "mean-contactlist-angular2",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "node server.js",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall": "ng build"
},
Logs:
2018-06-01T20:41:15.786361+00:00 app[web.1]: > [email protected]
start /app
2018-06-01T20:41:15.786364+00:00 app[web.1]: > node server.js ng build
2018-06-01T20:41:15.786365+00:00 app[web.1]:
2018-06-01T20:41:17.168799+00:00 app[web.1]: App now running on port 56793
2018-06-01T20:41:17.142593+00:00 app[web.1]: Database connection ready
2018-06-01T20:41:17.049030+00:00 app[web.1]: (node:20) DeprecationWarning:
current URL string parser is deprecated, and will be removed in a future
version. To use the new parser, pass option { useNewUrlParser: true } to
MongoClient.connect.
2018-06-01T20:41:17.751082+00:00 heroku[web.1]: State changed from starting to
up
2018-06-01T20:41:19.511037+00:00 heroku[router]: at=info method=GET path="/"
host=agile-stream-60475.herokuapp.com
request_id=b6887b29-2a08-4bc6-a1b9-b57cdbc67e46 fwd="174.104.163.20" dyno=web.1
connect=2ms service=19ms status=200 bytes=809 protocol=https
2018-06-01T20:41:46.445557+00:00 heroku[router]: at=info method=GET path="/"
host=agile-stream-60475.herokuapp.com
request_id=41fc23ea-0c28-40a0-8d56-e5f2b6a7b16b fwd="174.104.163.20" dyno=web.1
connect=1ms service=5ms status=200 bytes=809 protocol=https
2018-06-01T20:44:26.555793+00:00 heroku[router]: at=info method=GET path="/"
host=agile-stream-60475.herokuapp.com
request_id=1aada4c9-c489-44fd-89c5-7aec12151da7 fwd="174.104.163.20" dyno=web.1
connect=0ms service=2ms status=200 bytes=809 protocol=https
--
--
You received this message because you are subscribed to the Google
Groups "Heroku" group.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.