每次我用Bower Tool做的事情都是以json格式输出。
例如:
**凉亭帮助**
cosole输出:
如何在Linux Fedora中安装bower?
在Windows上,需要什么权限才能在Vagrant上安装Bower?
通过凉亭安装聚合物冻结
npm安装什么都不做 – 它是如何工作的?
鲍尔:无效的选项:–allow-root
{ "usage": [ "<command> [<args>] [<options>]" ],"commands": { "cache": "Manage bower cache","help": "display help @R_672_4045@ion about Bower","home": "Opens a package homepage into your favorite browser","info": "Info of a particular package","init": "Interactively create a bower.json file","install": "Install a package locally","link": "Symlink a package folder","list": "List local packages - and possible updates","login": "Authenticate with GitHub and store credentials","lookup": "Look up a package URL by name","prune": "Removes local extraneous packages","register": "Register a package","search": "Search for a package by name","update": "Update a local package","uninstall": "Remove a local package","unregister": "Remove a package from the registry","version": "Bump a package version" },"options": [ { "shorthand": "-f","flag": "--force","description": "Makes varIoUs commands more forceful" },{ "shorthand": "-j","flag": "--json","description": "Output consumable JSON" },{ "shorthand": "-l","flag": "--loglevel","description": "What level of logs to report" },{ "shorthand": "-o","flag": "--offline","description": "Do not hit the network" },{ "shorthand": "-q","flag": "--quiet","description": "Only output important @R_672_4045@ion" },{ "shorthand": "-s","flag": "--silent","description": "Do not output anything,besides errors" },{ "shorthand": "-V","flag": "--verbose","description": "Makes output more verbose" },{ "flag": "--allow-root","description": "Allows running commands as root" },{ "shorthand": "-v","flag": "--version","description": "Output Bower version" },{ "flag": "--no-color","description": "disable colors" } ] }
但结果应该是这样的http://img.zgserver.com/linux/capture-d_c3a9cran-2013-12-08-c3a0-22-32-47.png
每个凉亭命令都会出现这个问题。
Bower版本:1.7.9 NPM版本:1.3.10 Ubuntu 14.04
任何人都知道如何改变为人类更愉快的格式?
提前致谢
DataTables凉亭更新错误(多平台)
无法使用Bower安装文件以在Eclipse中工作
在1.7.9版本中引入一些变化。
我的.bowerrc如下所示:
{ "directory": "bower_components","json": "bower.json" }
我删除了“json”:“bower.json”一行并解决问题。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。