[英]Register a Bower component
我尝试在Bower上注册我的一个项目,但是它不起作用,首先,我在Github上使用标签和以下命令添加了我的项目:
我使用“ bower init”命令创建了“ manifest.json”文件,但是当我尝试注册该程序包时,却遇到了问题...
我的问题:
bower Forest-Administrator#* resolve git://github.com:tonymx227/Forest-Administrator.git#*
bower Forest-Administrator#* ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com:tonymx227/Forest-Administrator.git", exit code of #128
Additional error details:
fatal: Unable to look up github.com (port tonymx227) (nodename nor servname provided, or not known)
我的manifest.json文件:
{
"name": "Forest-Administrator",
"version": "0.0.0",
"homepage": "https://github.com/tonymx227/Forest-Administrator",
"dependencies": [
"git://github.com/tonymx227/Forest-Administrator.git": "*"
],
"authors": [
"tonymx227 <tonymx227@gmail.com>"
],
"description": "Forest Administrator is an HTML5/CSS3 framework which is used to organize your administration panel.",
"keywords": [
"forest",
"administrator",
"css3",
"html5",
"compass",
"framework",
"admin",
"panel"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests",
".gitignore"
]
}
安东尼
它应该是git://github.com/tonymx227/Forest-Administrator.git
注意/
而不是:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.