arashsheyda / nuxt-mongoose

A Nuxt module for simplifying the use of Mongoose in your project.
https://docs.arashsheyda.me/nuxt-mongoose
75 stars 13 forks source link

Devtool not making the connection #16

Closed BayBreezy closed 1 year ago

BayBreezy commented 1 year ago

Hello 👋,

Thank you for creating this module. I like what it offers. I am trying to use the devtools to create api endpoints(really love that feature) but it is not working at the moment. In my VSCode terminal, I get no errors when the application starts up. But in the browser console, I am seeing a few warnings/ errors.

The Errors from the browser are:

Here are some screenshots that may help:

Browser:

image

Terminal:

image
arashsheyda commented 1 year ago

@BayBreezy thanks for pointing this out, yes it's due to DevTools changes, it is from the rpc client and the fix is easy, but I want to refactore some thing and I havn't got the time yet :)

BayBreezy commented 1 year ago

@arashsheyda Ok. I understand. I will wait on the refactor. Thanks

BayBreezy commented 1 year ago

Hello @arashsheyda , just following here. Wondering if you can provide an ETA on when this will be updated?

arashsheyda commented 1 year ago

sorry for the long wait! I did refactor that part long time ago, though there is another issue that I'm trying to fix(I don't know why but after updating dependencies it throw an error if your project doen't have mongoose as dependency!) and I think it will be done in couple of days. thank you for your wait!

ps: It might be a bug on my PC, do you mind testing out and help me? thanks

BayBreezy commented 1 year ago

Ok, I will. Thanks for the update. I actually saw another bug yesterday where after running the posting tall script, the code would hang. I will test to see if this is resolved with the update as well.

The hang would take place when I try to connect to a momgodb that is secured, like atlas