Vagrant (Laravel 플랫폼, 관련성이있는 경우)에서 우분투 14.x와 클라이언트의 CMS를 실행하고 있습니다. 패키지와 의존성을 다루는 것이 나에게 새롭고 내 머리를 헤엄 치게 만들고, 기본적으로 개념에 몰입하여 이해할 수 있도록해야합니다. 즉, 내가 볼 수있는 게시물의 수에서 다른 개발자가 같은 challeges 얼굴처럼 보였다.얀 경고 : [email protected] : 라이센스 필드 및 라이센스 유형과 종속성 충돌이 없음
README.md는 yarn
을 실행하여 repo를 복제 한 후 모든 것을 빌드한다고 말합니다. 다음은 그 시점까지 이끄는 명령은 다음과 같습니다
which nodejs # /usr/bin/nodejs
nodejs -v # v4.7.3
npm install -g yarn #this installed yarn v0.19.1
yarn
나는, 다음과 같은 순서로, 나는 시도하고
yarn
를 실행할 때마다 얻을 나는 다음과 같은 오류를 얻을.
- 가 어떻게 할 : 나는 희망을 간결 두 가지 질문이
[email protected]:/var/www/mycms# yarn yarn install v0.19.1 warning [email protected]: No license field warning [email protected]: "dependencies" has dependency "babel-polyfill" with range "^6.16.0" that collides with a dependency in "devDependencies" of the same name with version "^6.7.4" warning [email protected]: "dependencies" has dependency "babel-preset-es2015" with range "^6.18.0" that collides with a dependency in "devDependencies" of the same name with version "^6.6.0" [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... error An unexpected error occurred: "EPROTO: protocol error, symlink '../../../babylon/bin/babylon.js' -> '/var/www/mycms/node_modules/babel-core/node_modules/.bin/babylon'". info If you think this is a bug, please open a bug report with the information provided in "/var/www/mycms/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. [email protected]:/var/www/mycms# yarn yarn install v0.19.1 warning [email protected]: No license field warning [email protected]: "dependencies" has dependency "babel-polyfill" with range "^6.16.0" that collides with a dependency in "devDependencies" of the same name with version "^6.7.4" warning [email protected]: "dependencies" has dependency "babel-preset-es2015" with range "^6.18.0" that collides with a dependency in "devDependencies" of the same name with version "^6.6.0" [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... error An unexpected error occurred: "EPROTO: protocol error, symlink '../../../normalize-package-data/node_modules/semver/bin/semver' -> '/var/www/mycms/node_modules/accord/node_modules/.bin/semver'". info If you think this is a bug, please open a bug report with the information provided in "/var/www/mycms/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. [email protected]:/var/www/mycms# yarn yarn install v0.19.1 warning [email protected]: No license field warning [email protected]: "dependencies" has dependency "babel-polyfill" with range "^6.16.0" that collides with a dependency in "devDependencies" of the same name with version "^6.7.4" warning [email protected]: "dependencies" has dependency "babel-preset-es2015" with range "^6.18.0" that collides with a dependency in "devDependencies" of the same name with version "^6.6.0" [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... error An unexpected error occurred: "EPROTO: protocol error, symlink '../../../babylon/bin/babylon.js' -> '/var/www/mycms/node_modules/babel-core/node_modules/.bin/babylon'". info If you think this is a bug, please open a bug report with the information provided in "/var/www/mycms/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. [email protected]:/var/www/mycms# yarn # yarn install v0.19.1 warning [email protected]: No license field warning [email protected]: "dependencies" has dependency "babel-polyfill" with range "^6.16.0" that collides with a dependency in "devDependencies" of the same name with version "^6.7.4" warning [email protected]: "dependencies" has dependency "babel-preset-es2015" with range "^6.18.0" that collides with a dependency in "devDependencies" of the same name with version "^6.6.0" [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... error An unexpected error occurred: "EPROTO: protocol error, symlink '../../../babylon/bin/babylon.js' -> '/var/www/mycms/node_modules/babel-core/node_modules/.bin/babylon'". info If you think this is a bug, please open a bug report with the information provided in "/var/www/mycms/yarn-error.log". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
: 흥미롭게도, 4 배의 2 일에 나는 이것의 legth에 대한 미안, 다른 심볼릭 링크를 참조 시도
[email protected]: No license field
을 제거하십시오 (이 작업이 중요합니다). dependencies
과devDependencies
사이의 충돌을 어떻게 해결합니까? dev 환경에서 일하고 있지만 분명히yarn.lock
(?) 파일을 건드리고 싶지는 않습니다.dependencies
및devDependencies
에 두 버전 중 더 큰 버전을 사용하면 (코드에서이 기능을 제공함)이 오류 메시지가 표시되지 않습니까?