Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

errs not in dependencies #70

Closed
nomiddlename opened this issue May 15, 2012 · 3 comments
Closed

errs not in dependencies #70

nomiddlename opened this issue May 15, 2012 · 3 comments
Labels

Comments

@nomiddlename
Copy link

Package.json has errs as dev dependency instead of dependency. Causes the following error on require('nano'):

require('nano')
Error: Cannot find module 'errs'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/Volumes/MacHD2/verticals/cs-whereis-poi-extract/node_modules/nano/nano.js:21:19)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)

@thewongandonly
Copy link

same here: [Error: Cannot find module 'errs']

@dscape dscape closed this as completed in 5b94fee May 15, 2012
@dscape
Copy link
Contributor

dscape commented May 15, 2012

Thank you @nomiddlename and @thewongandonly

Travis.ci installs everything (including devDeps) so I didn't spot this.

It's fixed in nano@3.0.1

@samdutton
Copy link

I got this for request, errs and underscore after installing nano 6.1.2.

(Odd – running `sudo npm install nano' again installed underscore.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants