2017-09-17 1 views
0

재단 사이트 버전 6.2.0을 설치하려고합니다. 나는 그것이 (기초-사이트 디렉토리에 bower.json가) 버전 6.4.3 것을 볼 라이브러리 내가 설치된 기초-사이트에서 볼 때, 그러나Bower가 기초 버전의 잘못된 버전을 설치합니다.

{ 
    "name": "asp.net", 
    "private": true, 
    "dependencies": { 
    "font-awesome": "4.6.1", 
    "foundation-sites": "6.2.0" 
    } 
} 

: 여기 내 bower.json 파일입니다

enter image description here

편집 :Visual Studio에서조차 UI

{ 
    "name": "foundation-sites", 
    "version": "6.4.3", 
    "license": "MIT", 
    "main": [ 
    "scss/foundation.scss", 
    "dist/js/foundation.js" 
    ], 
    "ignore": [ 
    "config", 
    "docs", 
    "gulp", 
    "lib", 
    "test", 
    "composer.json", 
    "CONTRIBUTING.md", 
    "gulpfile.js", 
    "meteor-README.md", 
    "package.js", 
    "package.json", 
    "sache.json", 
    ".editorconfig", 
    ".npm", 
    ".gitignore", 
    ".npmignore", 
    ".versions", 
    ".babelrc", 
    "yarn.lock" 
    ], 
    "dependencies": { 
    "jquery": ">= 3.0.0", 
    "what-input": "~4.1.3" 
    } 
} 

은 6.2.0가 설치되었다는 인상을 준다추가 검사에서 .bower.json에 올바른 버전 (6.2.0)이 포함되어 있음을 발견했습니다. 잘못된 버전 (6.4.3)이 설치된 버전 인 bower.json에 있습니다.

여기에서 문제가 될 수있는 것은 무엇입니까? 6.4.3이 설치된 이유는 무엇입니까?

+0

아무도 나를 도와 줄 수 없습니까? –

답변

0

일반적으로 유역은 죽었으므로 더 이상 권장되지 않습니다. npm 또는 원사로 전환 할 수 있습니다.

문제와 관련하여. 이 부분을 재현 할 수 없으며 더 자세한 정보를 제공하지 않았습니다.

bower install 
bower not-cached https://github.com/zurb/foundation-sites.git#6.2.0 
bower resolve  https://github.com/zurb/foundation-sites.git#6.2.0 
bower not-cached https://github.com/FortAwesome/Font-Awesome.git#4.6.1 
bower resolve  https://github.com/FortAwesome/Font-Awesome.git#4.6.1 
bower download  https://github.com/FortAwesome/Font-Awesome/archive/v4.6.1.tar.gz 
bower download  https://github.com/zurb/foundation-sites/archive/v6.2.0.tar.gz 
bower progress  font-awesome#4.6.1 received 1.0MB 
bower progress  foundation-sites#6.2.0 received 1.0MB 
bower progress  font-awesome#4.6.1 received 1.2MB 
bower progress  foundation-sites#6.2.0 received 1.3MB 
bower progress  font-awesome#4.6.1 received 1.5MB 
bower progress  foundation-sites#6.2.0 received 1.5MB 
bower progress  font-awesome#4.6.1 received 1.8MB 
bower progress  foundation-sites#6.2.0 received 1.8MB 
bower progress  font-awesome#4.6.1 received 2.1MB 
bower progress  foundation-sites#6.2.0 received 2.1MB 
bower extract  font-awesome#4.6.1 archive.tar.gz 
bower progress  foundation-sites#6.2.0 received 2.3MB 
bower progress  foundation-sites#6.2.0 received 2.6MB 
bower extract  foundation-sites#6.2.0 archive.tar.gz 
bower resolved  https://github.com/zurb/foundation-sites.git#6.2.0 
bower resolved  https://github.com/FortAwesome/Font-Awesome.git#4.6.1 
bower not-cached https://github.com/ten1seven/what-input.git#~1.1.2 
bower resolve  https://github.com/ten1seven/what-input.git#~1.1.2 
bower cached  https://github.com/jquery/jquery-dist.git#2.2.4 
bower validate  2.2.4 against https://github.com/jquery/jquery-dist.git#~2.2.0 
bower download  https://github.com/ten1seven/what-input/archive/v1.1.4.tar.gz 
bower extract  what-input#~1.1.2 archive.tar.gz 
bower resolved  https://github.com/ten1seven/what-input.git#1.1.4 
bower install  foundation-sites#6.2.0 
bower install  font-awesome#4.6.1 
bower install  jquery#2.2.4 
bower install  what-input#1.1.4 

foundation-sites#6.2.0 bower_components\foundation-sites 
├── jquery#2.2.4 
└── what-input#1.1.4 

font-awesome#4.6.1 bower_components\font-awesome 

jquery#2.2.4 bower_components\jquery 

what-input#1.1.4 bower_components\what-input 

그리고 bower.json 파일 내용 :

cat bower_components/foundation-sites/bower.json 
{ 
    "name": "foundation-sites", 
    "version": "6.2.0", 
    "main": [ 
    "scss/foundation.scss", 
    "dist/foundation.js" 
    ], 
    "ignore": [ 
    "config", 
    "docs", 
    "gulp", 
    "lib", 
    "test", 
    "composer.json", 
    "CONTRIBUTING.md", 
    "gulpfile.js", 
    "meteor-README.md", 
    "package.js", 
    "package.json", 
    "sache.json", 
    ".editorconfig", 
    ".npm", 
    ".gitignore", 
    ".npmignore", 
    ".versions" 
    ], 
    "dependencies": { 
    "jquery": "~2.2.0", 
    "what-input": "~1.1.2" 
    } 
} 

정자 버전을 사용합니까? 내 것은 1.8.0입니다.

관련 문제