2017-08-15 67 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