hubotio / generator-hubot

Hubot generator for Yeoman
MIT License
156 stars 83 forks source link

Dependency on download package is missing #60

Closed cyberwolf closed 7 years ago

cyberwolf commented 8 years ago

When trying to run yo hubot I got this error:

module.js:339
    throw err;
    ^

Error: Cannot find module 'download'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/usr/lib/node_modules/generator-hubot/node_modules/yeoman-generator/lib/actions/fetch.js:3:16)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)

It appears like the dependency on the download package is missing.

If I first install the download package, you hubot starts working correctly.

npm install -g download
technicalpickles commented 8 years ago

I haven't seen this one. I think it's a probably a problem with yo. Can you try npm install -g yo again and see if it helps?

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cyberwolf commented 7 years ago

Haven't looked at this in a while so probably it's not a problem (any longer), so closing.