1

我尝试在 Bower 上注册我的一个项目,但它不起作用,首先,我在 Github 上添加了我的项目,带有标签和以下命令:

  1. “混帐日志”
  2. “git标签0.0.0 kj8jkh8df43 ...”

我使用“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"
  ]
}

安东尼

4

1 回答 1

2

应该git://github.com/tonymx227/Forest-Administrator.git
注意/而不是:

于 2013-10-08T20:58:39.143 回答