0
git push
수율 : 내 컴퓨터에 로컬로 컴파일Heroku가 "오류 : 알 ENOENT"자식 푸시에 오류
로그
[snip]
[email protected] node_modules/mongodb
└── [email protected]
npm ERR! Error: spawn ENOENT
npm ERR! at errnoException (child_process.js:945:11)
npm ERR! at Process.ChildProcess._handle.onexit (child_process.js:736:34)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 2.6.32-350-ec2
npm ERR! command "/tmp/node-node-HW9B/bin/node" "/tmp/node-npm-bxOq/cli.js" "rebuild"
npm ERR! cwd /tmp/build_20l204f433b3o
npm ERR! node -v v0.10.0
npm ERR! npm -v 1.2.12
npm ERR! syscall spawn
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/build_20l204f433b3o/npm-debug.log
npm ERR! not ok code 0
! Failed to rebuild dependencies with npm
! Heroku push rejected, failed to compile Node.js app
잘 작동합니다. .gitignore
에서 node_modules
제거
packages.json
{
"name": "hosted-hubot",
"version": "2.4.8",
"author": "GitHub Inc.",
"keywords": "github hubot campfire bot",
"description": "A simple helpful Robot for your Company",
"licenses": [{
"type": "MIT",
"url": "http://github.com/github/hubot/raw/master/LICENSE"
}],
"repository" : {
"type": "git",
"url": "https://github.com/github/hubot.git"
},
"dependencies": {
"hubot-hipchat": ">=2.4.5",
"hubot": ">=2.4.8",
"optparse": "1.0.3",
"mongodb": "*",
"githubot": "0.2.0",
"date-utils": ">=1.2.5",
"underscore": ">=1.3.3",
"underscore.string": ">=2.1.1"
},
"engines": {
"node": ">= 0.10.x",
"npm": ">=1.1.x"
}
}
같은 문제 ... 문의 한 Heroku 지원은 다시 배포하려고했습니다. : - \ – StewartJarod
나는 약 10 번 시도했지만 포기했다. :( – Henrik