采用npm search 模块指令出现的Error的解决 采用npm search math指令执行时,出现了npm ERR, 404的问题。 经上网查阅,原因是因为在安装时采用了指定淘宝镜像的原因。 解决方案: npm search 模块 --registry=https://registry.npmjs.org 在后面加上--registry=https://registry.npmjs.org即可。