node.js - How do I get rid of error "'.' is not recognized as an internal or external command" when running 'npm install' for MEAN stack? -


downloaded mean stck zip mean.io did npm install after few minutes got error. please see screenshot. do?

screenshot

npm http 200 https://registry.npmjs.org/event-emitter/-/event-e mitter-0.2.2.tgz  > mean@1.0.0 postinstall c:\ss\d1\google\04\mean\mean-stack > ./node_modules/bower/bin/bower install  '.' not recognized internal or external command, operable program or batch file. npm err! weird error 1 npm err! not ok code 0 

looks mean stacks postinstall script hardcoded unix style paths. in unix ./somethig/or/another signifies accessing something directory starting here (the meaning of .).

i'd suggest submitting bug on github page start. might able away editing package.json have post install script use windows style paths. node_modules\bower\bin\bower install. don't have windows cannot certain.


Comments

Popular posts from this blog

ruby on rails - Is it the correct way to implement belongs_to relation with factory girl? -

geolocation - Windows Phone 8 - Keeping background location tracking active beyond four hours -

Uncaught TypeError: Cannot read property 'parentNode' of null javascript -