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


D:\grunttest>npm install
npm WARN package.json demo@0.1.0 No repository field.
npm WARN package.json demo@0.1.0 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 demo@0.1.0 No repository field.
npm WARN package.json demo@0.1.0 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.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM