我在Windows 7上创建a.bat,a.bat的内容是:
@echo off
npm config set registry https://registry.npmjs.org/
然后运行a.bat,但不起作用,我发现单词“ set”是npm和bat的特殊关键字,是否有任何方法可以解决此问题?
https://registry.npmjs.com/
而不是https://registry.npmjs.org/
npm config get registry
知道注册表URL