Git command line tool running npm install does not respond

git and cmder command line tools always have all kinds of strange problems. Please help us explain or solve them:

1. There is no response when git command line tool runs npm install, but it is normal to change to cmder.
2. Cmder does not respond when initializing some items (for example, it is normal to change lavas init), to git command line.

question:
both tools are installed or downloaded and used directly. Is it because they lack some necessary configuration for each other? How do you need to configure it?

May.11,2021

that may be something wrong with git or npm. Uninstall it and install it again. Maybe


try it

npm --verbose install  xxxx

maybe it has something to do with the network. Try installing and using cnpm

.
npm install -g cnpm --registry=https://registry.npm.taobao.org
Menu