2012-03-04 5 views
0

저는 Heroku에 상당히 익숙하며 성공하지 못하면서 내 코드를 3 번 ​​사용해 보았습니다. 나는 this 튜토리얼을 따르고 있는데, 내가을 수행하라는 질문을 받으면 붙잡 힙니다. Scaling web processes... ! Resource not found을받습니다. 이 말이 맞는 것은 아닙니다. 이전 단계가 올바르게 작동하는 것 같습니다. 다음 명령 git push heroku master의 로그입니다 :Heroku 프로세스를 배포 한 후 시작하지 않음

Counting objects: 5, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (3/3), done. 
Writing objects: 100% (3/3), 279 bytes, done. 
Total 3 (delta 2), reused 0 (delta 0) 

-----> Heroku receiving push 
-----> Removing .DS_Store files 
-----> Node.js app detected 
-----> Resolving engine versions 
     Using Node.js version: 0.4.7 
     Using npm version: 1.0.106 
-----> Fetching Node.js binaries 
-----> Vendoring node into slug 
-----> Installing dependencies with npm 
    npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url'] 

    > [email protected] install /tmp/build_2xv21ycwhho11/node_modules/mongodb 
    > node install.js 

    ================================================================================ 
    =                    = 
    = To install with C++ bson parser do <npm install mongodb --mongodb:native> = 
    =                    = 
    ================================================================================ 
    [email protected] ./node_modules/mongodb 

    > [email protected] install /tmp/build_2xv21ycwhho11/node_modules/mongodb 
    > node install.js 

    ================================================================================ 
    =                    = 
    = To install with C++ bson parser do <npm install mongodb --mongodb:native> = 
    =                    = 
    ================================================================================ 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/xmlhttprequest 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/redis 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/mongoose 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/mongodb 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/juggernaut 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/juggernaut/node_modules/socket.io 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/juggernaut/node_modules/redis 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/juggernaut/node_modules/node-static-maccman 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/juggernaut/node_modules/optimist 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/jquery 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/jquery/node_modules/jsdom 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/jquery/node_modules/htmlparser 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/jade 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/html2jade 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/express 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/express/node_modules/connect 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/express/node_modules/qs 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/express/node_modules/mime 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/ejs 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/connect 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/connect/node_modules/qs 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/connect/node_modules/mime 
    [email protected] /tmp/build_2xv21ycwhho11/node_modules/connect/node_modules/formidable 
    Dependencies installed 
-----> Discovering process types 
     Procfile declares types -> (none) 
-----> Compiled slug size is 7.0MB 
-----> Launching... done, v4 
     http://stark-winter-4562.herokuapp.com deployed to Heroku 

To [email protected]:stark-winter-4562.git 
    43e3a5e..84f9cd8 master -> master 

이 어떤 도움이 될 수 있을지는 모르겠지만,이 출력이 단지의 경우, 튜토리얼에서 볼 수있는 것과 상당히 다른 것 같다.

어떤 사람이 잘못되었거나 내가 뭘 잘못하고 있다고 지적 할 수 있습니까? 감사.

+0

Procfile를 호출 할 필요가 있겠습니까? 코드/프로젝트를 볼 수 있다면 더 편리 할 수도 있습니다. –

+0

노드 서버와 동일한 폴더에 생성했습니다. 이것은 확장자가없는'procfile'이라는 파일이고'web : node server.js'라는 한 줄로 구성되어 있습니다. – Masiar

+0

좋아, 다시 한 번 모든 단계를 시도했지만 이번에는 .git 폴더를 삭제하고 다시했습니다. 이제는 작동하는 것처럼 보이지만 앱이 추락 한 것 같습니다. 다시 시작하는 방법에 대한 생각? 감사 – Masiar

답변

4

귀하의 procfile은 당신이 procfile을 만든 확인할 수 있습니다 대문자 P

관련 문제