Following the Express Local Library tutorial. I’m at the very end of this page where I’m attempting to run node populatedb <my mongodb url>. When I open up my local library project locally and run the command, it spits out [1] 10289, and that’s it.
It says to then check my local_library DB in MongoDB Atlas and I should see individual collections of Books, Authors, etc. I see nothing, though.
Am I doing something wrong? Here’s what I type in when running the script (my username is odin and my password is voAkUlE2D5qUQIob. Database name is local_library.
if you found different in version then try to rebuild the project with the exact version of tools if it run fine then either one or more or at worst all new version has issue with some of the code used
sorry for not giving you answer about your issue but hope that help
create new folder which will be your project folder
how did you install the module for example
did you run this npm install mongoose
or npm install mongoose@5.10.7
there a problem on which one you should use i guess this would lead to issue cause database driver should be compatible with the database version so for mysql database you can not use driver version intended to be used with mysql 8 with database version 5.7 or the opposite
so install this the normal way as npm install mongoose
but for the async do it this way npm install async@3.2.0