mathiasvr / youtube-terminal

:tv: Stream YouTube videos as ascii art in the terminal!
MIT License
108 stars 9 forks source link

Exception (Cannot find module 'debug') on simple search #1

Closed cb0 closed 8 years ago

cb0 commented 8 years ago

Hi there,

I installed it as recommended and get the following error:

% youtube-terminal 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:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/youtube-terminal/index.js:6:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)

Here are my specs:

% uname -a                                                                                                                                                                                                           :(
Linux walnut 3.19.0-49-generic #55~14.04.1-Ubuntu SMP Fri Jan 22 11:24:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
% nodejs --version
v0.10.25
% npm --version
1.3.10

Any ideas what might be missing ?

mathiasvr commented 8 years ago

Hi, thanks for reporting it! My bad, I simply forgot to add the debug module as a dependency in the package. I will fix it right away!

mathiasvr commented 8 years ago

Changes published as v0.3.3. However note that this module is still pretty unstable :)

cb0 commented 8 years ago

Thanks for the fast response and the fix. I'll try it out and let you know. And I'm aware of the "experimental" badge, so no problem with unexpected crashes. Btw. a very cool in my eyes.