2017-08-15 101 views
0

我試圖使用bower安裝Bootstrap 4 Beta的最新版本。使用Bower安裝Bootstrap 4 Beta

使用這個命令:

bower install bootstrap#v4.0.0-beta 

結果:

no matches found: bootstrap#v4.0.0-beta 

有什麼我做錯了嗎?

bower.json如下所示:

{ 
"name": "bootstrap-starter", 
"homepage": "https://github.com/marcuschristiansen/bootstrap-starter", 
"authors": [ 
"Marcus Christiansen <[email protected]>" 
], 
"description": "All dependencies for the bootstrap starter theme", 
"main": "", 
"license": "MIT", 
"ignore": [ 
    "**/.*", 
    "node_modules", 
    "bower_components", 
    "test", 
    "tests" 
], 
"dependencies": { 
    "jquery": "~2.2.3", 
    "normalize-scss": "[email protected]:JohnAlbin/normalizescss.git#^4.1.0", 
    "bootstrap": "4.0", 
    "font-awesome": "[email protected]:FortAwesome/Font-Awesome.git", 
    "bourbon": "^4.2.7", 
    "neat": "^1.8.0" 
    } 
} 

回答

1

我剛安裝引導4測試版使用相同的命令:bower install bootstrap#v4.0.0-beta與NPM版本5.3.0和1.8.0鮑爾。

您是否嘗試過更新npm和Bower並運行相同的安裝命令?

+0

我得到一個錯誤說 「涼亭EINVRES。與410失敗」 – virtualLast