grunt-contrib-build'不在npm注册表中 [英] grunt-contrib-build' is not in the npm registry

查看:659
本文介绍了grunt-contrib-build'不在npm注册表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Windows 7系统上使用命令提示符安装 npm install grunt-contrib-build --save-dev 时,出现以下错误。

I'm getting below error when I try to install npm install grunt-contrib-build --save-dev on my Windows 7 system using command prompt.

C:\css-base>npm install grunt-contrib-build --save-dev
npm WARN package.json my-project@0.1.0 No README.md file found!
npm http GET https://registry.npmjs.org/grunt-contrib-build
npm http 404 https://registry.npmjs.org/grunt-contrib-build
npm ERR! 404 'grunt-contrib-build' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "grunt-contrib-build" "--save
-dev"
npm ERR! cwd C:\css-base
npm ERR! node -v v0.10.3
npm ERR! npm -v 1.2.17
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\css-base\npm-debug.log
npm ERR! not ok code 0


推荐答案

如果有人在尝试安装这个插件:

If anyone finds this while trying to install this plugin:

grunt-contrib-build

现在称为

grunt-usemin

然而,新插件中的任务可能不受支持,请检查
https://github.com/yeoman/grunt-usemin/issues/3 以获取更多信息。

However the tasks in the new plugin might not be supported, please check https://github.com/yeoman/grunt-usemin/issues/3 for more information.

这篇关于grunt-contrib-build'不在npm注册表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆