evanlucas / learnyoumongo

MongoDB workshop.
MIT License
306 stars 89 forks source link

build errors #37

Closed calandraz closed 8 years ago

calandraz commented 8 years ago

Currently started (or tried) to start learnyoumongo in cloud9. Upon install, multiple error messages, however I was able to complete exercise one. (I was not able to verify that mongod had installed via mongod.exe or mongod --version---I felt the need to try both. I was able to see the version via learnyoumongo run [solution.js]. )

Exercise 2 however, nothing works. I cannot run the port , receiving the error "error parsing command line: unknown option small". It also gave me the advice to try mongod --help. Upon typing that command I receive the same error. I have tried adding a dependency mainly and linking that , tried installing mongo multiple times, deleted and recreated a workspace multiple times. Not sure what I'm missing and/or doing wrong.

JacksonBates commented 8 years ago

I have had a similar problem. I am running it on cloud9 on a node workstation if this info helps?

calandraz commented 8 years ago

Thanks for responding... I was actually also working through node workstation in cloud9. Eventually I was actually able to find some help via stack overflow and have moved on from learnyoumongo.

For any one else who may come across the same issues, the following helped me: code: mkdir data $ echo 'mongod --bind_ip=$IP --dbpath=data --nojournal --rest "$@"' > mongod $ chmod a+x mongod

To start the Mongodb process, run: ./mongod

Source: http://stackoverflow.com/a/24960179