2013年2月6日水曜日

git push heroku master express --path herokuとしたが

https://github.com/visionmedia/express/pull/1483 の情報を見て、express に --pass heroku オプションを付けてアプリケーションを生成してgitにpushしてみたが、やはり同じだった。

$ git push heroku master
Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (15/15), 1.76 KiB, done.
Total 15 (delta 1), reused 0 (delta 0)
-----> Node.js app detected
-----> Resolving engine versions

       WARNING: No version of Node.js specified in package.json, see:
       https://devcenter.heroku.com/articles/nodejs-versions

       WARNING: The default version of Node.js and npm on Heroku will begin
       tracking the latest stable release starting September 1, 2012.

       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 ERR! error installing express@3.1.0 Error: Unsupported
       npm ERR! error installing express@3.1.0     at checkEngine (/tmp/node-npm-hzLj/lib/install.js:493:14)
       npm ERR! error installing express@3.1.0     at Array.0 (/tmp/node-npm-hzLj/node_modules/slide/lib/bind-actor.js:15:8)
       npm ERR! error installing express@3.1.0     at LOOP (/tmp/node-npm-hzLj/node_modules/slide/lib/chain.js:15:13)
       npm ERR! error installing express@3.1.0     at chain (/tmp/node-npm-hzLj/node_modules/slide/lib/chain.js:20:4)
       npm ERR! error installing express@3.1.0     at installOne_ (/tmp/node-npm-hzLj/lib/install.js:470:3)
       npm ERR! error installing express@3.1.0     at installOne (/tmp/node-npm-hzLj/lib/install.js:411:3)
       npm ERR! error installing express@3.1.0     at /tmp/node-npm-hzLj/lib/install.js:347:9
       npm ERR! error installing express@3.1.0     at /tmp/node-npm-hzLj/node_modules/slide/lib/async-map.js:54:35
       npm ERR! error installing express@3.1.0     at Array.forEach (native)
       npm ERR! error installing express@3.1.0     at /tmp/node-npm-hzLj/node_modules/slide/lib/async-map.js:54:11
       npm ERR! error rolling back express@3.1.0 Error: ENOTEMPTY, Directory not empty '/tmp/build/node_modules/express'
       npm ERR! Unsupported
       npm ERR! Not compatible with your version of node/npm: connect@2.7.2
       npm ERR! Required: {"node":">= 0.5.0"}
       npm ERR! Actual:   {"npm":"1.0.106","node":"0.4.7"}
       npm ERR!
       npm ERR! System Linux 2.6.32-350-ec2
       npm ERR! command "/tmp/node-node-VLKq/bin/node" "/tmp/node-npm-hzLj/cli.js" "install" "--production"
       npm ERR! cwd /tmp/build
       npm ERR! node -v v0.4.7
       npm ERR! npm -v 1.0.106
       npm ERR! code ENOTSUP
       npm ERR!
       npm ERR! Additional logging details can be found in:
       npm ERR!     /tmp/build/npm-debug.log
       npm not ok
 !     Failed to install --production dependencies with npm
 !     Heroku push rejected, failed to compile Node.js app

To git@heroku.com:application.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:application.git'

0 件のコメント:

コメントを投稿