Answer the question
In order to leave comments, you need to log in
Where can I upload a project for testing for free?
There is a project written on the MEAN stack (mongo, express, angular node.js) github , I want to put it on the hosting for the test, tell me how to do it right and where, and most importantly for free :)
I tried to upload it to heroku, but I got an error, added without modules, removed the localhost from the routes and left only the name of the path itself, Angular assembled in production mode.
Help me solve the problem, it's interesting to see how my application works in production :)
Error:
$ heroku logs
2018-12-19T20:11:24.999661+00:00 app[api]: Release v1 created by user [email protected]
2018-12-19T20:11:24.999661+00:00 app[api]: Initial release by user [email protected]
2018-12-19T20:12:35.224738+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=young-forest-21812.herokuapp.com request_id =2d3d018c-93ca-46b6-9ee9-dad2f47956bc fwd="77.123.44.65" dyno= connect= service= status=502 bytes= protocol=https
2018-12-19T20:12:35.630106+00:00 heroku[router]: at =info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=young-forest-21812.herokuapp.com request_id=74dcf451-6446-4adb-b3e0-50cf9db55db0 fwd="77.123.44.65 " dyno= connect= service= status=502 bytes= protocol=https
2018-12-19T20:20:26.000000+00:00 app[api]: Build started by user [email protected]
2018-12-19T20:20:54.045280+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=young-forest-21812.herokuapp.com request_id =fd5c74bb-8b07-4b9d-8a11-80ff28911a7b fwd="77.123.44.65" dyno= connect= service= status=502 bytes= protocol=https
2018-12-19T20:20:54.357317+00:00 heroku[router]: at =info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=young-forest-21812.herokuapp.com request_id=68a8312b-056c-4dca-951f-797e9cd38121 fwd="77.123.44.65 " dyno= connect= service= status=502 bytes= protocol=https
2018-12-19T20:20:57.905904+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path= "/favicon.ico" host=young-forest-21812.herokuapp.com request_id=92f76c42-6a2c-42bf-b810-4673b7e351dc fwd="77.123.44.65" dyno= connect= service= status=502 bytes= protocol=https
2018-12-19T20:21:29.125891+00:00 app[api]: Release v3 created by user
[email protected]il.com by user [email protected]
2018-12-19T20:21:34.483294+00:00 heroku[web.1]: Starting process with command `npm start`
2018-12-19T20:21:36.784365+00:00 heroku[web.1]: State changed from starting to crashed
2018-12-19T20:21:36.796103+00:00 heroku[web.1]: State changed from crashed to starting
2018-12-19T20:21:36.762127+00 :00 heroku[web.1]: Process exited with status 1
2018-12-19T20:21:43.875940+00:00 heroku[web.1]: Starting process with command `npm
start` 40.000000+00:00 app[api]: Build succeeded
2018-12-19T20:21:47.897647+00:00 heroku[web.1]: State changed from starting
to
crashed 19T20:21:47.788806+00:00 app[web.1]: > [email protected] start /app
2018-12-19T20:21:47.788808+00:00 app[web.1]: > ng serve
2018-12-19T20:21:47.788809+00:00 app[web.1]:
2018-12-19T20:21:47.796767+00:00 app[web.1]: sh: 1: ng: not found
2018- 12-19T20:21:47.802941+00:00 app[web.1]: npm ERR! file sh
2018-12-19T20:21:47.803301+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2018-12-19T20:21:47.803634+00:00 app[web.1]: npm ERR! errno ENOENT
2018-12-19T20:21:47.803943+00:00 app[web.1]: npm ERR! syscall spawn
2018-12-19T20:21:47.805605+00:00 app[web.1]: npm ERR! [email protected] start: `ng serve`
2018-12-19T20:21:47.805763+00:00 app[web.1]: npm ERR! spawn ENOENT
2018-12-19T20:21:47.806098+00:00 app[web.1]: npm ERR!
2018-12-19T20:21:47.806355+00:00 app[web.1]: npm ERR! Failed at the [email protected] start script.
2018-12-19T20:21:47.806610+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2018-12-19T20:21:47.815111+00:00 app[web.1]:
2018-12-19T20:21:47.815342+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2018-12-19T20:21:47.815543+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2018-12-19T20_21_47_808Z-debug.log
2018-12-19T20:22:04.818631+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=young-forest-21812.herokuapp.com request_id =514c3e19-9f5c-4d79-bb4c-ca3a19b82f61 fwd="77.123.44.65" dyno= connect= service= status=503 bytes= protocol=https
2018-12-19T20:22:05.806437+00:00 heroku[router]: at =error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=young-forest-21812.herokuapp.com request_id=a5bc8ec4-5346-418e-b73e-c009d4fe9b40 fwd="77.123.44.65 " dyno= connect= service= status=503 bytes= protocol=https
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question