Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnhandledPromiseRejection Error on Saving file #8

Closed
tanmaykk9 opened this issue Sep 13, 2021 · 5 comments
Closed

UnhandledPromiseRejection Error on Saving file #8

tanmaykk9 opened this issue Sep 13, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@tanmaykk9
Copy link

Whenever any new file is saved with changes, getting the error as UnhandledPromiseRejection. How can i resolve this error ?

@djizco
Copy link
Owner

djizco commented Sep 23, 2021

Is there any more information in the error message? You may have some old code with an unhandled Promise somewhere, and it just shows the error every time. Does it show a file name in the error?

@tanmaykk9
Copy link
Author

Is there any more information in the error message? You may have some old code with an unhandled Promise somewhere, and it just shows the error every time. Does it show a file name in the error?

The error is not present when i installed nodemon v 2.0.7. Can you also please post a boilerplate in PERN Stack! It will be really very helpful.

@djizco
Copy link
Owner

djizco commented Sep 23, 2021

The error is not present when i installed nodemon v 2.0.7.

Interesting, well seems like it's resolved by updating packages. Can you confirm that you are no longer having this issue so I can close it?

Can you also please post a boilerplate in PERN Stack! It will be really very helpful.

A PERN stack is on my todo list! Hopefully, I can get around to it soon.

@tanmaykk9
Copy link
Author

The error is not present when i installed nodemon v 2.0.7.

Interesting, well seems like it's resolved by updating packages. Can you confirm that you are no longer having this issue so I can close it?

Can you also please post a boilerplate in PERN Stack! It will be really very helpful.

A PERN stack is on my todo list! Hopefully, I can get around to it soon.

Yes i am no longer having any issues after upgrading nodemon. Waiting for the PERN Stack soon! I have migrated the current setup to Postgresql. But having some trouble while setting session in node. Because currently, the session is setup using Mongoose.. If you could just post a code snippet for it in your git. It will be helpful.

@djizco
Copy link
Owner

djizco commented Sep 23, 2021

I haven't used Postgres in a while, but if I come up with something I will be sure to post it. Good luck.

@djizco djizco added the bug Something isn't working label Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants