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

  • Home
  • SEARCH
  • 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 7627191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:25:36+00:00 2026-05-31T05:25:36+00:00

I had this problem initially, so I tried npm install –force It seems to

  • 0

I had this problem initially, so I tried

npm install --force

It seems to work, with only one warning:

npm WARN querystring@0.0.1 package.json: bugs['web'] should probably be bugs['url']

But when I try to run it, it gives me:

[ec2-user@ip-10-136-14-95 iodocs]$ node ./app.js
The "sys" module is now called "util". It should have a similar interface.

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: Cannot find module 'hashlib'
    at Function._resolveFilename (module.js:332:11)
    at Function._load (module.js:279:25)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/home/ec2-user/iodocs/app.js:37:19)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:31)
    at Function._load (module.js:308:12)
    at Array.0 (module.js:479:10)

I have no idea what to do with it, please shed some light on me.

BTW, I’m trying to install iodocs on a Linux 2.6.35.14-97.44.amzn1.x86_64 EC2 instance.

===========================Update================================================

I have also tried to install it on Heroku, but hit the same problem:

-----> Heroku receiving push
-----> Node.js app detected
-----> Resolving engine versions
       Using Node.js version: 0.6.12
       Using npm version: 1.0.106
-----> Fetching Node.js binaries
-----> Vendoring node into slug
-----> Installing dependencies with npm
       npm WARN querystring@0.0.1 package.json: bugs['web'] should probably be bugs['url']
       npm ERR! Unsupported
       npm ERR! Not compatible with your version of node/npm: querystring@0.0.1
       npm ERR! Required: {"node":"0.4.x","teleport":">=0.2.0"}
       npm ERR! Actual:   {"npm":"1.0.106","node":"0.6.12"}
       npm ERR! 
       npm ERR! System Linux 2.6.32-342-ec2
       npm ERR! command "/tmp/node-node-kXeE/bin/node" "/tmp/node-npm-1IT8/cli.js" "install"
       npm ERR! cwd /tmp/build_3mjp7psqka071
       npm ERR! node -v v0.6.12
       npm ERR! npm -v 1.0.106
       npm ERR! code ENOTSUP

       > hashlib@1.0.1 preinstall /tmp/build_3mjp7psqka071/node_modules/hashlib
       > node-waf clean || true; node-waf configure build

       npm ERR! 
       npm ERR! Additional logging details can be found in:
       npm ERR!     /tmp/build_3mjp7psqka071/npm-debug.log
       npm not ok
       Nothing to clean (project not configured)
       Checking for program g++ or c++          : /usr/bin/g++ 
       Checking for program cpp                 : /usr/bin/cpp 
       Checking for program ar                  : /usr/bin/ar 
       Checking for program ranlib              : /usr/bin/ranlib 
       Checking for g++                         : ok  
       Checking for program gcc or cc           : /usr/bin/gcc 
       Checking for gcc                         : ok  
       Checking for node path                   : not found 
       Checking for node prefix                 : ok /tmp/node-node-kXeE 
       'configure' finished successfully (0.476s)
       Waf: Entering directory `/tmp/build_3mjp7psqka071/node_modules/hashlib/build'
       [1/6] cc: libhash/md4c.c -> build/Release/libhash/md4c_1.o
       [2/6] cc: libhash/md5c.c -> build/Release/libhash/md5c_1.o
       [3/6] cc: libhash/sha0c.c -> build/Release/libhash/sha0c_1.o
       [4/6] cxx: hashlib.cc -> build/Release/hashlib_2.o
       ../hashlib.cc:14:16: error: ev.h: No such file or directory
       ../hashlib.cc:15:17: error: eio.h: No such file or directory
       ../hashlib.cc:311: error: 'eio_req' was not declared in this scope
       ../hashlib.cc:311: error: 'req' was not declared in this scope
       ../hashlib.cc:312: error: expected ',' or ';' before '{' token
       Waf: Leaving directory `/tmp/build_3mjp7psqka071/node_modules/hashlib/build'
       Build failed:  -> task failed (err #1): 
        {task: cxx hashlib.cc -> hashlib_2.o}
 !     Failed to install dependencies with npm
 !     Heroku push rejected, failed to compile Node.js app
  • 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-05-31T05:25:36+00:00Added an answer on May 31, 2026 at 5:25 am

    I came across the same issue exactly.

    I think there’s a “Pull Request” that might fix this:
    https://github.com/mashery/iodocs/pull/14

    I’m going to implement it and if it works, will report.

    EDIT:

    I was able to get farther. Here are some things you need to do:

    1. implement the pull request linked above
    2. in package.json, update your "express": "2.5.8" (the version they have 2.4.8. isn’t compatible with node.js v1.0.0
    3. remove the “hashlib” directory from “iosdocs/node_modules”

    npm install should now work.

    However, if you run node ./app.js, I’m getting this error:

    The “sys” module is now called “util”. It should have a similar
    interface. Express server listening on port 3000

    node.js:201
    throw e; // process.nextTick error, or ‘error’ event on first tick

    EDIT #2:

    Figured it out! You have to actually run redis-server (DUH).

    So I did the following:

    1. Download redis 2.4.8 from their site
    2. Follow their instructions in unzipping, building
    3. run the server with src/redis-server

    Bam, NOW run node ./app.js and it works!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had this problem before and can't for life of me remember how to
I had this problem some time ago and I gave up but lately it
I've had this problem many times before, and I've never had a solution I
I've had this problem a couple of times. Let's say I want to display
Has anyone had this problem? I deleted a column in the table editor and
I know I've had this problem before so I'm really frustrated. I've got the
I have had this problem w/ two seperate WYSWYG editors in my rails application
Ok I have this problem that I've never had before, it's really bugging me.
Just wondering if you had any thoughts on this problem. I want to make
Need some help with this problem in implementing with XSLT, I had already implemented

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.