When running npm install, stuck in sill idealTree buildDeps does not respond.

Problems encountered: idealTree:x-admin-web: sill idealTree buildDeps

1. When running npm install, it is stuck at sill idealTree buildDeps and has no response
npm install always stays at fetchMetadata: sill mapToRegistry uri http://registry.npmjs.org/whatwg- fetch

2. First use the following command to set it as Taobao's mirror source:
npm config set registry https://registry.npm.taobao.org

3. Then use the following command to check whether it is successful:
npm config get registry

Output Taobao mirror path

4. Finally reinstall and run
npm install

Finally, the problem can be solved and the installation is successful.

Guess you like

Origin blog.csdn.net/weixin_52060913/article/details/130072613