tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 194 forks source link

Travis can't import should #165

Closed AdrienLemaire closed 10 years ago

AdrienLemaire commented 10 years ago

Hello,

I can't resolve an issue Error: Cannot find module 'should' (cf this travis build )

my .travis.yml does install should, so it's a mystery why the tests fail (I don't have any problem loading should in my local machine).

Do you have any idea ?

AdrienLemaire commented 10 years ago

I tried to add a npm link should, but then I get a Require is not defined error, very strange

alsotang commented 10 years ago

There is only npm install -g should in your .travis.yml. But your project folder doesn't know you have should installed. Please just npm install should in your project folder.

And this problem is not related to should. It is mostly a test or deploy problem of Meteor.

AdrienLemaire commented 10 years ago

ok thanks. I'm getting other errors now, this is a problem related with travis. Sorry for the disturb :)