개발! 딱 깔끔하고 센스있게!

비록 - prefer dist 로고 에 도 불구 하고 작곡 가 의존 항목 의 갱신 속 도 는 여전히 느리다. 본문

개발 스크랩 메모/PHP

비록 - prefer dist 로고 에 도 불구 하고 작곡 가 의존 항목 의 갱신 속 도 는 여전히 느리다.

렉사이 2020. 12. 4. 02:36

왜 내 작곡 가 의 의존 도 는 2 분 이 걸 려 야 업 데 이 트 될 수 있 습 니까?

하나의 유행 하 는 건 의 는 - prefer dist 로고 를 추가 하 는 것 입 니 다.

나 는 명령 에 추가 하 였 습 니 다.

php composer.phar update --prefer-dist 

그 건 다 를 게 없어.다음은 제 커 뮤 니 티 제 이 슨 파일 입 니 다.

- 제 가 눈 에 띄 는 내용 을 빠 뜨 린 게 있 나 요?

{ "name": "my-namespace/symfony", "type": "project", "description": "", "require": { "php": ">=5.3.3", "symfony/symfony": "2.3.*", "doctrine/orm": ">=2.2.3,<2.4-dev", "doctrine/doctrine-bundle": "1.2.*", "twig/extensions": "1.0.*", "symfony/assetic-bundle": "2.3.*", "symfony/monolog-bundle": "2.3.*", "sensio/framework-extra-bundle": "2.3.*", "sensio/generator-bundle": "2.3.*", "sensio/distribution-bundle": "2.2.*", "my-namespace/my-bundle": "1.0.*" }, "repositories": [ { "type": "vcs", "url": "http://username:[email protected]/my-bundle.git" } ], "scripts": { "post-install-cmd": [ "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile" ], "post-update-cmd": [ "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile" ] }, "config": { "bin-dir": "bin" }, "minimum-stability": "dev", "extra": { "symfony-app-dir": "app", "symfony-web-dir": "web", "branch-alias": { "dev-master": "2.3-dev" } } } 

대답 하 다.

이 문 제 는 보통 CLI 환경 에서 xdebug 를 불 러 오 는 것 과 관련 이 있 습 니 다.

(사용 여부 가 xdebug 와 무관 합 니 다.

)

xdebug 가 활성화 되 었 는 지 다음 명령 중 하 나 를 사용 할 수 있 습 니 다.

// Unix php -m | grep xdebug // Windows php -m | findstr xdebug 

상세 한 정 보 를 사용 하고 정 보 를 분석 하면 어떤 작업 이 이렇게 오래 걸 리 는 지 에 대한 정 보 를 얻 을 수 있 습 니 다.

(패 키 지 를 업데이트 하려 면 update 로 인 스타 그램 을 교체 해 주세요.)

composer install --prefer-dist -vvv --profile 
Comments