2014-04-05 5 views
0

나는이 오류를 꽤 오래 전부터 받고 있습니다. 나는 heroku에서 호스트하고 싶은 laravel 4 어플리케이션을 가지고 있습니다. 나는 이미 heroku 응용 프로그램을 만들었고 지금은 git push heroku master를 사용하여 응용 프로그램을 heroku에 푸시하려고합니다. 결과는 다음과 같습니다.hosting laravel 4 heroku에서 응용 프로그램

C:\xampp\htdocs\pos>git push heroku master 
Fetching repository, done. 
Counting objects: 83, done. 
Delta compression using up to 2 threads. 
Compressing objects: 100% (59/59), done. 
Writing objects: 100% (60/60), 342.76 KiB | 69.00 KiB/s, done. 
Total 60 (delta 40), reused 0 (delta 0) 

-----> Fetching custom git buildpack... done 
-----> PHP app detected 
Build dir is /tmp/build_5b1c5fb6-fa85-4a48-b2a8-127574aeb681 
-----> Extracting Apache 2.4.7 PHP 5.5.9 build 2.0-rc1 
-----> from http://vulcan-wlian.herokuapp.com/output/e33fbffa-c4ca-4752-8b1c-9ebc49366a1c 
Creating Slug Identifier file with id: d325104734915692ee9e8f4189c08e21 
Installing Composer binary 
#!/usr/bin/env php 
All settings correct for using Composer 
Downloading... 

Composer successfully installed to: /tmp/build_5b1c5fb6-fa85-4a48-b2a8-127574aeb681/bin/composer.phar 
Use it: php bin/composer.phar 
Installing Composer dependencies 
Loading composer repositories with package information 
Installing dependencies 
Your requirements could not be resolved to an installable set of packages. 

    Problem 1 
    - Installation request for barryvdh/laravel-migration-generator dev-master -> satisfiable by barryvdh/laravel-migration-generator[dev-master]. 
    - barryvdh/laravel-migration-generator dev-master requires way/generators 1.x -> no matching package found. 
    Problem 2 
    - Installation request for zizaco/entrust dev-master -> satisfiable by zizaco/entrust[dev-master]. 
    - zizaco/confide 2.0.0.b1 requires laravelbook/ardent 1.1.x -> satisfiable by laravelbook/ardent[v1.1.0]. 
    - zizaco/confide 2.0.0a1 requires laravelbook/ardent 1.1.x -> satisfiable by laravelbook/ardent[v1.1.0]. 
    - zizaco/confide 2.0.0b4 requires laravelbook/ardent 2.1.x -> satisfiable by laravelbook/ardent[v2.1.0]. 
    - zizaco/confide 2.0.0b2 requires laravelbook/ardent 2.1.x -> satisfiable by laravelbook/ardent[v2.1.0]. 
    - zizaco/confide 2.0.0b3 requires laravelbook/ardent 2.1.x -> satisfiable by laravelbook/ardent[v2.1.0]. 
    - Can only install one of: laravelbook/ardent[v1.1.0, dev-master]. 
    - Can only install one of: laravelbook/ardent[dev-master, v1.1.0]. 
    - Can only install one of: laravelbook/ardent[v2.1.0, dev-master]. 
    - Can only install one of: laravelbook/ardent[dev-master, v2.1.0]. 
    - zizaco/entrust dev-master requires laravelbook/ardent dev-master -> satisfiable by laravelbook/ardent[dev-master]. 
    - Conclusion: don't install laravelbook/ardent dev-master 
    - Installation request for zizaco/confide 2.0.x -> satisfiable by zizaco/confide[2.0.0.b1, 2.0.0a1, 2.0.0b2, 2.0.0b3, 2.0.0b4]. 

Potential causes: 
- A typo in the package name 
- The package is not available in a stable-enough version according to your minimum-stability setting 
    see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details. 

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. 

!  Push rejected, failed to compile PHP app 

To [email protected]:ckpos.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:ckpos.git' 

필자는 모든 요구 사항을 충족시키지 못했지만 그 이유는 무엇입니까?

+0

과거에 몇 가지 문제가 발생한 발전기 laravel composer 패키지를 제거했습니다. 문제는 패키지의 최신 버전이 당신이 가지고있는 laravel의 다른 버전을 요청하고 있다는 것입니다. 당신은 당신과 같은 laravel 버전에있는 버전을 찾아야합니다. 또한 로컬에서 작동하는지 확인 하시겠습니까? – user391986

+0

와우! 며칠 전 제 Repo가 성공적으로 푸시되었습니다. 오늘 같은 오류가 발생합니다. 나는 이것이 호스팅 된 buildpack repo의 변경 때문이라고 생각한다. 해결책을 찾으면 업데이트하십시오. – Augiwan

+0

해결책을 찾았습니다! 게시 중입니다 ... – Augiwan

답변

0

해결되었습니다. 단순히 이전 buildpack으로 다시 전환하십시오. 당신이 git push heroku master을 앱 디렉토리로 이동하여 다음을 입력합니다

에게 Heroku의 설정 : 설정 BUILDPACK_URL = 자식 : //github.com/winglian/heroku-buildpack-php.git#mpm-event-php55 -fpm

오래 전에 buildpack URL을 master 브랜치로 설정하면이 재미있는 느낌이 들었습니다. 나는 이것을해야했다. 어쨌든, 교훈을 배웠습니다.

건배!

+0

여전히 문제가 발생하면 이전 빌드 팩을 사용해보십시오. - heroku config : set BUILDPACK_URL = git : //github.com/winglian/heroku-buildpack-php.git#mpm-event-php-fpm – Augiwan

관련 문제