2016-06-16 12 views
1

これは本当にイライラしています。JSPMはインストールできません(githubから404)が、npmからインストールできます

レポ用Package.jsonは、githubでホストされています。私はjspm経由でこれをプルしようとしています。

{ 
    "name": "tf-modernizr", 
    "version": "1.0.0", 
    "description": "", 
    "main": "modernizr.js", 
    "scripts": { 
    "test": "echo \"Error: no test specified\" && exit 1" 
    }, 
    "repository": { 
    "type": "git", 
    "url": "git+https://github.com/tomorrowfinance/tf-modernizr.git" 
    }, 
    "author": "Simon Douglas", 
    "license": "MIT", 
    "bugs": { 
    "url": "https://github.com/tomorrowfinance/tf-modernizr/issues" 
    }, 
    "homepage": "https://github.com/tomorrowfinance/tf-modernizr#readme", 
    "directories": {} 
} 

NPM細かい作品をインストールします(!!!)

JSPMは、インストールを実行する: jspm install github:tomorrowfinance/[email protected] またはjspm install github:tomorrowfinance/tf-modernizrは私を知らせる404

Looking up github:tomorrowfinance/tf-modernizr 
Updating registry cache... 
Downloading github:tomorrowfinance/[email protected] 
warn Error on download for github:tomorrowfinance/tf-modernizr 
Bad response code 404 
err Error downloading github:tomorrowfinance/tf-modernizr. 

があるドキュメントここhttp://jspm.io/docs/getting-started.html doesnの助けてください。ここの文書https://github.com/jspm/registry/wiki/Configuring-Packages-for-jspmは複雑です。私は何が欠けていますか?

+0

あなたはレポに行くしようとしましたか?それは存在しません:https://github.com/tomorrowfinance/tf-modernizr – Quill

+0

私はそれを公開し、JSPMは満足しています。 JSPMを私用リポジトリと連携させて調べる必要があります。これは私の問題を解決しますが、これは本当に質問には答えません。/ – Simon

+0

プライベートレポの@Simonの場合、gitの資格情報を追加する必要があります – Quill

答えて

1

これはプライベートレポジトリなので、jspmがプライベートレポジトリにアクセスできるようにする必要があります。

だけ使用してgithubのへのアクセスを設定:jspm registry config github

関連する問題