johnpapa / ng-demos

variety of angular demos
MIT License
1.7k stars 961 forks source link

Error: Cannot find module 'duplexer' #59

Open tdekoekkoek opened 9 years ago

tdekoekkoek commented 9 years ago

I get this error every time I run >npm install:

Error: Cannot find module 'duplexer' at Function.Module._resolveFilename (module.js:336:15)

This is for the "modular" application

I have reinstalled node, all the bower components and repulled the repository. Happens every time. Environment is windows command prompt with admin permissions

tdekoekkoek commented 9 years ago

FWIW, I deleted my entire C:\Users\username\AppData\Roaming directory, reinstalled node and then reinstalled everything per the instructions and it worked. Sorry for the false alarm, but perhaps someone else will run into the same issue.