menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

JS Everywhere

A community for the JavaScript Everywhere book by Adam Scott, published by O'Reilly.

Channels
Team

has trouble Connecting MongoDB to Application

May 13, 2021 at 7:59am

has trouble Connecting MongoDB to Application

May 13, 2021 at 7:59am
Hello ,I am able to use the MongoDB shell to create a database, add documents to a collection and so on. But when I run the solutions\03-Database\index.js , the VScode shows the error: ( I have already changed the .env (in api folder)to DB_HOST=mongodb://localhost:27017)
Process exited with code 1 Uncaught MongooseError No debugger available, can not send 'variables'
Could you please help me with that ? Thanks a lot!

May 19, 2021 at 10:55am
Hi (codawn) my apologies, I seemed to not get notified of this post. Are you still running into this issue or did you work it out?