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

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -