I have to do npm install in multiple folder (around 16 folders) , So I thought of writing a batch script which will do the same thing in one click. So that it will help other developers while setting up the project.
Here is the first part of the script.
echo STEP12
pushd HDC
git config --global url."https://".insteadOf git://
echo STEP13
pushd hui-components-style
npm install --registry http://localhost:23510 && popd
pushd hui-components-dfp
npm install --registry http://localhost:23510
But after the first popd
its not going inside the hui-components-dfp
folder and executing the npm install.
I am new to writing batch file. May be I am doing some silly mistake. Please help.