Это действительно расстраивает.JSPM не может установить (404 из github), НО МОЖЕТЕ установить с 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": {}
}
НПМ установки работает нормально (!!!)
работает 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 Безразлично Помогите. Документация здесь https://github.com/jspm/registry/wiki/Configuring-Packages-for-jspm является сложной. Что мне не хватает?
Пробовали ли вы собираетесь репо? Его не существует: https://github.com/tomorrowfinance/tf-modernizr – Quill
Я сделал его общедоступным, и JSPM счастлив. Он должен изучить работу JSPM с частными репозиториями. Это действительно не отвечает на вопрос, хотя, хотя он и устраняет мою проблему:/ – Simon
Если это частное репо, @Simon, вам нужно добавить учетные данные git – Quill