twilson63 / express-coffee

A Template for NodeJs Application using Express, CoffeeScript, Jade, Stylus, Nib
http://twilson63.github.io/express-coffee
MIT License
626 stars 152 forks source link

tests not passing on master #21

Closed 9z0b3t1c closed 11 years ago

9z0b3t1c commented 11 years ago

Hi, I just cloned express-coffee.

npm install completed successfully, but running cake test gives me:

➔ cake test

module.js:340 throw err; ^ Error: Cannot find module 'debug' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object. (/Users/sshingler/src/express-coffee/node_modules/stylus/lib/visitor/evaluator.js:23:13) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17)

Do you have any idea what could be causing that?

➔ npm -v 1.1.69

Please shout if you need any other info.

Thanks, Steven

twilson63 commented 11 years ago

Hey Steven,

I will take a look, what os are you running on?

Thanks

Tom

On Tue, Jan 1, 2013 at 4:15 PM, Steven Shingler notifications@github.comwrote:

Hi, I just cloned express-coffee.

npm install completed successfully, but running cake test gives me:

➔ cake test

module.js:340 throw err; ^ Error: Cannot find module 'debug' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object. (/Users/sshingler/src/express-coffee/node_modules/stylus/lib/visitor/evaluator.js:23:13) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17)

Do you have any idea what could be causing that?

➔ npm -v 1.1.69

Please shout if you need any other info.

Thanks, Steven

— Reply to this email directly or view it on GitHubhttps://github.com/twilson63/express-coffee/issues/21.

Tom Wilson Jack Russell Software Company Division of CareKinesis 1067 Cliffwood Drive Mount Pleasant, SC 29464 Phone: 843-606-0637 Email: tom@jackhq.com Web: http://www.jackhq.com Calendar: http://www.jackhq.com/calendar

This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure by the Health Insurance Portability and Accountability Act (HIPAA) and other state and federal laws. This information is intended only for the individual names above. Any review, use disclosure or dissemination of this material is strictly prohibited. If you receive this information in error, please notify CareKinesis immediately at 888-974-2763 and delete the original at once.

twilson63 commented 11 years ago

Are you running MongoDb? I think it needs to be running in order for the tests to run. With the new release.

twilson63 commented 11 years ago

You may want to run npm ls and see if you see stylus and debug installed properly:

npm ls

Screen Shot 2013-01-02 at 12 17 16 AM

9z0b3t1c commented 11 years ago

Hi Tom,

Sorry for the delay in replying.

npm ls is clearly not happy https://gist.github.com/4465687 - I'm totally new to node though, so may well be doing something stupid. I'm on a mac.

Any ideas gratefully received. :)

twilson63 commented 11 years ago

commented in gist, let me know if that helps.

Thanks

Tom

On Sun, Jan 6, 2013 at 1:53 AM, Steven Shingler notifications@github.comwrote:

Hi Tom,

Sorry for the delay in replying.

npm ls is clearly not happy https://gist.github.com/4465687 - I'm totally new to node though, so may well be doing something stupid. I'm on a mac.

Any ideas gratefully received. :)

— Reply to this email directly or view it on GitHubhttps://github.com/twilson63/express-coffee/issues/21#issuecomment-11925233.

Tom Wilson Jack Russell Software Company Division of CareKinesis 1067 Cliffwood Drive Mount Pleasant, SC 29464 Phone: 843-606-0637 Email: tom@jackhq.com Web: http://www.jackhq.com Calendar: http://www.jackhq.com/calendar

This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure by the Health Insurance Portability and Accountability Act (HIPAA) and other state and federal laws. This information is intended only for the individual names above. Any review, use disclosure or dissemination of this material is strictly prohibited. If you receive this information in error, please notify CareKinesis immediately at 888-974-2763 and delete the original at once.

9z0b3t1c commented 11 years ago

Hi Tom,

I had already done that, but I found that I needed to install npm separately with: curl http://npmjs.org/install.sh | sh

Argh. :)

All tests passing, thanks for your help.