报npm ERR! fetch failed https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-c错误

D:\grunttest>npm install
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm ERR! fetch failed https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-c
ntrib-uglify-0.2.7.tgz
npm ERR! fetch failed https://registry.npmjs.org/console-browserify/-/console-b
owserify-0.1.6.tgz
^C终止批处理操作吗(Y/N)? ^Y
终止批处理操作吗(Y/N)? y

D:\grunttest>npm config set registry http://registry.npmjs.org/

D:\grunttest>npm install
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data

D:\grunttest>grunt
Running "uglify:build" (uglify) task
>> Destination (dest/zepto.min.js) not written because src files were empty.

Done, without errors.

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。