ashleydavis / mongodb-rest

REST Server for MongoDB (using node.js)
GNU Lesser General Public License v3.0
75 stars 34 forks source link

SSL Support #8

Closed cgamache closed 9 years ago

cgamache commented 9 years ago

A simple addition to wrap Express in SSL.

ashleydavis commented 9 years ago

Thanks for your contribution.

I'm getting an odd error from the build server based on your pull request. Do you have any idea what might be causing this?

{ [Error: Cannot find module 'boom'] code: 'MODULE_NOT_FOUND' } Error: Cannot find module 'boom' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/travis/build/codecapers/mongodb-rest/node_modules/request/node_modules/hawk/lib/index.js:3:33) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)

cgamache commented 9 years ago

I only looped in parts of net and express that were already there.

From here it looks like npm fell down.

Can you dig into the travis build folder to see if the "boom" library is in

node_modules/request/node_modules/hawk/node_modules/boom ... I bet it's not there.

Can you ask travis to re-run npm install and rebuild?

cgamache commented 9 years ago

So I forced a build with a dummy commit (I hope you don't mind). It passed. I'm guessing that if you go and unfold the "npm install" part of the build log for the failed build you'll see npm having trouble downloading modules.