Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion NowJs on Heroku
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eric Zhang  
View profile  
 More options Feb 6 2012, 7:40 pm
From: Eric Zhang <e...@nowjs.com>
Date: Mon, 6 Feb 2012 16:40:05 -0800
Local: Mon, Feb 6 2012 7:40 pm
Subject: Re: [NowJS] NowJs on Heroku

Hi,

Looks like you're pushing the node_modules folder as part of your website,
make sure to specify which npm modules you need according to heroku's
instructions but not to push the node_modules folder.
Specifically your error is due to you pushing the binary nowjs dependency
'node-proxy`, which cannot run on heroku's systems dude to different
architectures between your computer and there servers.

Eric

On Sun, Feb 5, 2012 at 4:37 AM, Zeeshan Hanif <zeeshanha...@gmail.com>wrote:

> I wanted to up my app on Heroku but while upload my app on heroku its
> give error which can be seen by 'heroku logs' command.
> Below is the error

> 2012-02-05T11:17:09+00:00 app[web.1]:   message: '/app/node_modules/
> now/bin/proxy.node: invalid ELF header' }
> 2012-02-05T11:17:09+00:00 app[web.1]: Error: /app/node_modules/now/bin/
> proxy.node: invalid ELF header
> 2012-02-05T11:17:09+00:00 app[web.1]:     at Module.load (module.js:
> 336:31)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at Function._load (module.js:
> 297:12)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at require (module.js:
> 348:19)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at Object..node (module.js:
> 416:11)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at Object.<anonymous> (/app/
> node_modules/now/lib/proxy.js:10:13)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at Module._compile
> (module.js:404:26)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at Module.load (module.js:
> 336:31)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at Object..js (module.js:
> 410:10)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at Function._load (module.js:
> 297:12)
> 2012-02-05T11:17:09+00:00 app[web.1]:     at require (module.js:
> 348:19)
> 2012-02-05T11:17:09+00:00 app[web.1]: Listening on 52783

> It seems to me that it is the same error which occur on nowjs
> installation with npm command and nowjs team have provided alternate
> for installation.

> Kindly guide me how can i resolve this issue on heroku.

> Regards,
> Zeeshan Hanif

--
Co-Founder @ Flotype, makers of NowJS

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.