npm test should verify devDependencies are installed #1837

Closed
seebees opened this Issue Dec 5, 2011 · 3 comments

Projects

None yet

4 participants

@seebees
seebees commented Dec 5, 2011

At a minimum, I think that npm should be able to verify that test are going to fail if devDependencies are not installed. A little better then "This is most likely a problem with the XXX package, not with npm itself."

I suggest that if you npm test and the devDependencies are not installed you should prompt the user to install them and if they do not want to install them, bail to above.

@niclashoyer

+1

@tanob
tanob commented Dec 23, 2012

+1

@luk-
luk- commented Mar 6, 2013

I don't really see the use of this since you get a pretty clear error that the module is not installed, but feel free to submit a patch.

@luk- luk- closed this Mar 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment