ik that there is something do with env thing from which i am not so aware of and also i believe that you guys can help me with this thing and also thanks for creating such a nice tool/technology which saves us a lot of time and also helps our clients too. stay safe stay healthy, take care of your family.
I able to solve the error R10 but idk why maybe i dont have luck one error solve second comes second solves third comes so now i am getting this error and for R10 error I forgot to save the changes i made to github thats y i not able to see any changes on the heroku app it would have worked with heroku right as i am using only prismic, express, webpack and all as a techstack.
so the error rn i am trying to resolve is this one:
UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error
originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). To
terminate the node process on unhandled promise rejection, use the CLI flag `--
unhandled-rejections=strict`
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
hi thankyou for helping me after looking at my code i believe that i not have such type of try/catch block and.... why don't you just download the repo repo-link and help me with that.
not working have did just exactly what you showed in example but not worked :c
link of that app heroku app
can you tell me your name on github so that i can give you the access of private repo which is just same like the public one but i saved the changes to private one just to try so
have you tried doing that at your end coz i thought the example you give me should have worked as i gave everything lol
@ojasshukla211 You need to put try/catch block in every route. You can follow any nodejs example projects that are deployed on Heroku. You can send me a Zip file of your project. I will look again.
have you able to deploy and make it work normally with no errors at your end? as i've provided everything which it requires so i hope it should work at your end i guess