Git Product home page Git Product logo

Comments (3)

mientje avatar mientje commented on July 24, 2024

I'm working on the count exercise. My own soluction I think is correct, I see no errors but it just wont run. I even copied the solution code Evan Lucas provides in my js file and I still can't run it. EMs all over the place and each time I see something about 'db.collection('parrots').remove({}, function(err) {' blablabla. Remove? I did that exercise or am I not getting it? All I know is fcc, I'm very very new at this. I think I have restarted that db several times. (I repeat exercise 2). I always get 'sucessfully installed' and that's it. Maybe it's my pc.

from learnyoumongo.

dospunk avatar dospunk commented on July 24, 2024

I'm having this issue with the Find exercise I think. I tried running a find that would get everything, just to test if things were working, but the array printed is blank.

from learnyoumongo.

DreamHazard avatar DreamHazard commented on July 24, 2024

I was able to fix this issue by deleting the files from the data folder and restarting mongod, then running learnyoumongo verify on my js file.

Not sure what was causing the issue but this resolved it.

Further verification can be gained by running mongo learnyoumongo and then show collections from the mongo prompt.

If you can see the collection via the mongo prompt but not from your js file then there may be something wrong with your code.

from learnyoumongo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.