首页 > Web开发 > 详细

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

时间:2015-03-27 23:50:16      阅读:3285      评论:0      收藏:0      [点我收藏+]

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.

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

原文:http://www.cnblogs.com/nimoer/p/4373063.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!