簡體   English   中英

注冊Bower組件

[英]Register a Bower component

我嘗試在Bower上注冊我的一個項目,但是它不起作用,首先,我在Github上使用標簽和以下命令添加了我的項目:

  1. “ git log”
  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"
  ]
}

安東尼

它應該是git://github.com/tonymx227/Forest-Administrator.git
注意/而不是:

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM