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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:57:35+00:00 2026-06-18T02:57:35+00:00

I create my Node project (npm init). In this project, i want to use

  • 0

I create my Node project (npm init). In this project, i want to use Node REST Client from git hub https://github.com/dchester/node-rest-client.

  1. update package.json with dependency:

    …
    “dependencies”: {
    “rest-client”: “*”
    },
    …

  2. create dir node_modules in my project

  3. Copy the rest-client into the directory ‘node_modules’
  4. Run ‘npm install’ to install this dependency, however it doesn’t.
    What am i doing wrong? how to properly install dependency that is not from npm central repo?

Thank You

  • 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-18T02:57:36+00:00Added an answer on June 18, 2026 at 2:57 am

    It looks like you’ll have to do it manually for every module. However as the accepted answer in How to install a private NPM module without my own registry? by Mihai points out, npm knows about git:

    npm install git://github.com/visionmedia/express.git
    

    furthermore, besides going into the directory and typing npm install there it is possible to specify the path as argument:

    npm install path/to/somedir
    

    There’s another useful answer in How to install a private NPM module without my own registry? where you can see you can also specify a url pointing to a tarball. I suggest you take a look at that thread.

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

Sidebar

Related Questions

I want to use node.js with my Rails-Project to serve asynchronous io. I don't
I want to create new node of BeanTreeView, and when I add some node
I use this project to generate the sitemap path. In my application I would
For my project Ogre in c++ , I want to create an animation of
I have started this web scraping project backwards by beginning with node.io. I have
I've created a project in Node.js, users are able to create a 'room'. Users
I'm working on a project built entirely in node.js and coffeescript. I want to
In a current project (kind of a shop system), I use node.js with expressJS
Consider this: you create a new project on Cocos2D 2.0. You have the traditional
I want to create a group membership with below Template for created team project

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.