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 7515409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:47:55+00:00 2026-05-30T00:47:55+00:00

I am new to NodeJS so this is probably an easy fix. However I

  • 0

I am new to NodeJS so this is probably an easy fix. However I was not able to find the solution with my current comprehension level.

I cloned the heroku-facebook-nodejs template from Github, and am trying to do some testing in the development environment on my local server. I am using nodejs version 0.6.10

https://github.com/heroku/facebook-template-nodejs

I modified the package.json as the following:

{
  "name":        "facebook-template-node",
  "version":     "0.0.1",
  "description": "Template app for Heroku / Facebook integration, Node.js language",
  "dependencies": {
    "ejs": "0.4.3",
    "everyauth": "0.2.18",
    "express": "2.5.2",
    "facebook-client": "1.3.0",
    "facebook": "0.0.3",
    "node-uuid": "1.2.0",
    "socket.io": "0.8.7",
    "connect": "1.8.5"
  }
}

I removed the following:

require.paths.unshift(__dirname + '/lib');

and replaced

var socket_manager = require('socket_manager').create(io);

with

var socket_manager = require('lib/socket_manager').create(io);

and then ran npm-install -d to install the modules locally.

When I run node web.js, I get the following error:

system-process:hollow-cloud-1974 ericjang2004$ node web.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 'oauth'
    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> (/Users/Eric/Desktop/hollow-cloud-1974/node_modules/everyauth/lib/modules/oauth2.js:2:13)
    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 Module.require (module.js:354:17)

I am not sure how to proceed. Any tips? I read that Heroku uses an older version of Node, if that helps.

  • 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-30T00:47:56+00:00Added an answer on May 30, 2026 at 12:47 am

    Add “oauth”: “0.9.5” to your dependencies in package.json, so it looks like:

    "dependencies": {
        "ejs": "0.4.3",
        "oauth": "0.9.5",
        "everyauth": "0.2.18",
        "express": "2.5.2",
        "facebook-client": "1.3.0",
        "facebook": "0.0.3",
        "node-uuid": "1.2.0",
        "socket.io": "0.8.7",
        "connect": "1.8.5"
      }
    

    and run npm install -d

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

Sidebar

Related Questions

This is probably jquery basics, but I can't find a solution after much googling.
There is probably an easy to answer to this, but I can't even figure
I can't find anything in the docs on exactly how to do this. http://nodejs.org/api.html#request-method-149
New to javascript/jquery and having a hard time with using this or $(this) to
new Date(05-MAY-09 03.55.50) is any thing wrong with this ? i am getting illegalArgumentException
I'm beginning under NodeJS/Express and I'm facing the following problem (I probably didn't get
I tried connecting to my cassandra cluster [version 1.0.6] via nodejs using node-cassandra-client This
I am relatively new to nodejs etc. Anyway I have a program that I
Probably a stupid question but so far I can't figure this out... I have
I am new to nodejs. I managed to install node.js on amazon EC2 server

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.