Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8383757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:14:34+00:00 2026-06-09T17:14:34+00:00

I think this is an issue with which version of NodeJS I’m using, but

  • 0

I think this is an issue with which version of NodeJS I’m using, but I’m having trouble finding the actual issue and resolution. Here is the heroku log:

 2012-08-11T19:25:48+00:00 heroku[web.1]: Starting process with command
 `node app.js` 2012-08-11T19:25:49+00:00 app[web.1]: 
 2012-08-11T19:25:49+00:00 app[web.1]: node.js:134
 2012-08-11T19:25:49+00:00 app[web.1]:         throw e; //
 process.nextTick error, or 'error' event on first tick
 2012-08-11T19:25:49+00:00 app[web.1]: Error: Cannot find module 'zlib'
 2012-08-11T19:25:49+00:00 app[web.1]:         ^
 2012-08-11T19:25:49+00:00 app[web.1]:     at Function._load
 (module.js:266:25) 2012-08-11T19:25:49+00:00 app[web.1]:     at
 Function._resolveFilename (module.js:320:11) 2012-08-11T19:25:49+00:00
 app[web.1]:     at require (module.js:348:19)
 2012-08-11T19:25:49+00:00 app[web.1]:     at Object.<anonymous>
 (/app/node_modules/express/node_modules/connect/lib/middleware/compress.js:14:12)
 2012-08-11T19:25:49+00:00 app[web.1]:     at Module._compile
 (module.js:404:26) 2012-08-11T19:25:49+00:00 app[web.1]:     at
 Module.load (module.js:336:31) 2012-08-11T19:25:49+00:00 app[web.1]:  
 at Object..js (module.js:410:10) 2012-08-11T19:25:49+00:00 app[web.1]:
 at require (module.js:348:19) 2012-08-11T19:25:49+00:00 app[web.1]:   
 at Object.compress
 (/app/node_modules/express/node_modules/connect/lib/connect.js:89:14)
 2012-08-11T19:25:49+00:00 app[web.1]:     at Function._load
 (module.js:297:12) 2012-08-11T19:25:50+00:00 heroku[web.1]: Process
 exited with status 1 2012-08-11T19:25:50+00:00 heroku[web.1]: State
 changed from starting to crashed 2012-08-11T19:25:50+00:00
 heroku[web.1]: State changed from crashed to starting
 2012-08-11T19:25:52+00:00 heroku[web.1]: Starting process with command
 `node app.js` 2012-08-11T19:25:53+00:00 app[web.1]: 
 2012-08-11T19:25:53+00:00 app[web.1]: node.js:134
 2012-08-11T19:25:53+00:00 app[web.1]:         throw e; //
 process.nextTick error, or 'error' event on first tick
 2012-08-11T19:25:53+00:00 app[web.1]:         ^
 2012-08-11T19:25:53+00:00 app[web.1]: Error: Cannot find module 'zlib'
 2012-08-11T19:25:53+00:00 app[web.1]:     at Function._resolveFilename
 (module.js:320:11) 2012-08-11T19:25:53+00:00 app[web.1]:     at
 Function._load (module.js:266:25) 2012-08-11T19:25:53+00:00
 app[web.1]:     at require (module.js:348:19)
 2012-08-11T19:25:53+00:00 app[web.1]:     at Object.<anonymous>
 (/app/node_modules/express/node_modules/connect/lib/middleware/compress.js:14:12)
 2012-08-11T19:25:53+00:00 app[web.1]:     at Module._compile
 (module.js:404:26) 2012-08-11T19:25:53+00:00 app[web.1]:     at
 Object..js (module.js:410:10) 2012-08-11T19:25:53+00:00 app[web.1]:   
 at Module.load (module.js:336:31) 2012-08-11T19:25:53+00:00
 app[web.1]:     at Function._load (module.js:297:12)
 2012-08-11T19:25:53+00:00 app[web.1]:     at require
 (module.js:348:19) 2012-08-11T19:25:53+00:00 app[web.1]:     at
 Object.compress
 (/app/node_modules/express/node_modules/connect/lib/connect.js:89:14)

And here is my package.json:

{
     "name": "App"   , "version": "0.0.1"   , "private": true   , "dependencies": {
       "express": "2.5.8"
     , "jade": ">= 0.0.1"   } 
}

I have node v0.6.13 on my local machine and am using that. Should I declare a node version in my package.json? Which version alleviates this zlib issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:14:35+00:00Added an answer on June 9, 2026 at 5:14 pm

    I don’t know what the default version of node is on Heroku, but I think it’s broken. I forced Heroku to use the version of Node.js I’m using and it worked:

    {
        "name": "FriendButler"
      , "version": "0.0.1"
      , "private": true
      , "dependencies": {
          "express": "2.5.8"
        , "jade": ">= 0.0.1"
      }
      , "engines": {
          "node": "0.6.13",
          "npm": "1.1.41"
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(This question is indirectly related to a programming issue I'm having; if you think
I think this is an escaping issue or something. When I execute the query
I think I am overthinking this issue a little and I'm hoping someone can
I think this could be a very easy question for you. But I have
(I think this is a pretty basic question on OOP, but unfortunately I wasn't
I think this is nearly impossible or very tricky. I'm using CriteriaBuilder, JPA 2.0,
I think this is a pretty straightforward problem but... var outerHeight = $('.profile').outerHeight(); $(#total-height).text(outerHeight
I think this is mostly because I'm new to PHP OOP, but I have
I am trying to get this jGrowl working but I am not having any
I think this is easily explained by looking at code, so I'm posting a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.