2014-12-18 4 views
0

마지막으로 Heroku에 대한 마지막 푸시가 많은 설명없이 실패합니다.Heroku : Git이 Node.js를 컴파일하지 못했습니다.

node_modules가 1 일부터 .gitignore에 올바르게 추가되었습니다. 마지막 배포 이후 package.json에 대한 변경이 시작되지 않았으며 새 모듈 또는 bower 구성 요소가 설치되지 않았습니다.

로그에서 자세한 내용을 확인할 방법이 있습니까? -v는 아무것도 추가하지 않는 것 같습니다. 나는 약간의 상실감이있다. 어떤 도움이라도 대단히 환영받을 것이다.

오류 메시지 :

remote: Compressing source files... done. 
remote: Building source: 
remote: 
remote: -----> Removing .DS_Store files 
remote: -----> Fetching custom git buildpack... done 
remote: -----> Node.js app detected 
remote: 
remote: !  Push rejected, failed to compile Node.js app 
remote: 
remote: Verifying deploy... 
remote: 
remote: ! Push rejected to inviewapp. 
remote: 
To https://git.heroku.com/xboardx.git 
! [remote rejected] master -> master (pre-receive hook declined) 

여기가 package.json의 내용은 다음과 같습니다

{ 
    "name": "xboardx", 
    "version": "0.0.1", 
    "dependencies": { 
    "gzippo": "^0.2.0", 

    "express": "^4.10.5", 
    "morgan": "^1.5.0", 
    "require-dir": "^0.1.0", 

    "gulp": "^3.8.0", 
    "gulp-autoprefixer": "^0.0.6", 
    "gulp-cache": "^0.2.0", 
    "gulp-csso": "^0.2.6", 
    "gulp-filter": "^1.0.0", 
    "gulp-flatten": "^0.0.2", 
    "gulp-imagemin": "^1.0.0", 
    "gulp-inject": "^1.0.0", 
    "gulp-jshint": "^1.8.0", 
    "gulp-karma": "^0.0.4", 
    "gulp-load-plugins": "^0.8.0", 
    "gulp-minify-html": "^0.1.3", 
    "gulp-ng-annotate": "^0.3.0", 
    "gulp-ng-html2js": "^0.1.6", 
    "gulp-protractor": "^0.0.11", 
    "gulp-replace": "^0.4.0", 
    "gulp-rev": "^1.1.0", 
    "gulp-rev-replace": "^0.3.0", 
    "gulp-sass": "^0.7.3", 
    "gulp-size": "^1.1.0", 
    "gulp-uglify": "^1.0.0", 
    "gulp-useref": "^1.0.0", 
    "http-proxy": "^1.3.0", 
    "main-bower-files": "^2.0.0", 
    "protractor": "^1.4.0", 
    "uglify-save-license": "^0.4.1", 
    "wiredep": "^1.8.5", 
    "chalk": "^0.4.0", 
    "connect-modrewrite": "^0.7.9", 
    "del": "^0.1.3", 
    "jshint-stylish": "^0.4.0" 

    }, 
    "devDependencies": { 


    "browser-sync": "^1.3.6", 
    "karma-jasmine": "^0.1.5", 
    "karma-phantomjs-launcher": "^0.1.4" 


    }, 
    "engines": { 
    "node": "0.10.x" 
    }, 
    "scripts": { 
    "start": "node server.js" 
    } 
} 

답변

0

노드 0.11.x는 불안정하고 Heroku가 지원되지 않습니다.

변경하려면 다음

` "engines": { 
    "node": "0.10.x" 
    }, 
` 

가 출처 : https://devcenter.heroku.com/articles/nodejs-support#node-js-runtimes

+0

내 나쁜, 0.10.x 원래 설정이고, 그 어떤 차이를 만들어 있는지 엔진 업데이트를 강제하려고 0.11.x로 변경 . 둘 다 실패했습니다. 그래도 좋은 지적. –

+0

이름을 변경하셨습니까? –

+0

아니, 나는 그것이 Heroku의 측면에서 문제가되었을 수도 있다고 생각한다. 감사! –

관련 문제