Closed JESii closed 9 years ago
@JESii can you version-control your chapter 09 project and provide a link? I can take a look at it for you and provide feedback. I've experienced a similar issue, running npm install
on root, specifically installing the mongoose module, resolved my issue.
Thank you very much! here’s the repo: https://github.com/JESii/09_mean_api https://github.com/JESii/09_mean_api
Jon Seidel, CMC® EDP Consulting, Inc. / www.edpci.com http://www.edpci.com/ / www.4mypasswords.com http://www.4mypasswords.com/ http://www.4mypasswords.com/Effective Decisions... Priceless! LinkedIn Profile http://www.linkedin.com/in/jonseidel Technology that means Business - Since 1979 phone: 510-530-6314 fax: 510-531-1522
Results that Make the Difference! The Certified Management Consultant (CMC) mark is awarded to consultants who meet the strict standards defined by the Institute of Management Consultants USA (an ISO/IEC 17024:2003 Certifying Body), including examination by their peers, client evaluations, and a written examination evidencing their understanding of the IMC USA's Code of Ethics. The CMC is the only consulting certification that has been ISO-accredited and recognized by the insurance industry as reducing risk. Check out IMC USA http://www.imcusa.org/?page=WHYHIREACMC for more information.
On Feb 9, 2015, at 3:06 PM, Justin Page notifications@github.com wrote:
@JESii https://github.com/JESii can you version-control your chapter 09 project? I can take a look at it for you and provide feedback. I've experienced a similar issue, running npm install on root, specifically installing the mongoose module, resolved my issue.
— Reply to this email directly or view it on GitHub https://github.com/scotch-io/mean-machine-code/issues/15#issuecomment-73610685.
Dang… as soon as I sent that off to you, I found the problem… user error: mongoose.connect in both server.js and app/models.user.js
thanks…jon
Jon Seidel, CMC® EDP Consulting, Inc. / www.edpci.com http://www.edpci.com/ / www.4mypasswords.com http://www.4mypasswords.com/ http://www.4mypasswords.com/Effective Decisions... Priceless! LinkedIn Profile http://www.linkedin.com/in/jonseidel Technology that means Business - Since 1979 phone: 510-530-6314 fax: 510-531-1522
Results that Make the Difference! The Certified Management Consultant (CMC) mark is awarded to consultants who meet the strict standards defined by the Institute of Management Consultants USA (an ISO/IEC 17024:2003 Certifying Body), including examination by their peers, client evaluations, and a written examination evidencing their understanding of the IMC USA's Code of Ethics. The CMC is the only consulting certification that has been ISO-accredited and recognized by the insurance industry as reducing risk. Check out IMC USA http://www.imcusa.org/?page=WHYHIREACMC for more information.
On Feb 9, 2015, at 3:06 PM, Justin Page <notifications@github.com mailto:notifications@github.com> wrote:
@JESii https://github.com/JESii can you version-control your chapter 09 project? I can take a look at it for you and provide feedback. I've experienced a similar issue, running npm install on root, specifically installing the mongoose module, resolved my issue.
— Reply to this email directly or view it on GitHub https://github.com/scotch-io/mean-machine-code/issues/15#issuecomment-73610685.
I had been working my way through the chapter when I ran into the problem shown below which I've been unable to resolve. I tried several things (including mongoose.disconnect(), using my local mongod) which didn't work. Finally, I just cloned this repo, copied in your version of server.js and experienced the same problem. No amount of googling has provided a solution... what the heck am I doing wrong?
Thanks very much...jon