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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:27:25+00:00 2026-05-23T09:27:25+00:00

In the past when I installed packages using npm(>=1.0) they would be installed locally,

  • 0

In the past when I installed packages using npm(>=1.0) they would be installed locally, but not anymore.

My setup:

  • First I use nvm to install node.js.

  • My operating System:

    alfred@alfred-laptop:~/node/so/6513101$ cat /etc/lsb-release 
    DISTRIB_ID=Ubuntu<br>
    DISTRIB_RELEASE=10.10
    DISTRIB_CODENAME=maverick
    DISTRIB_DESCRIPTION="Ubuntu 10.10"
    
  • My node version:

    alfred@alfred-laptop:~/node/so/6513101$ node -v
    v0.4.8
    
  • My npm version:

    alfred@alfred-laptop:~/node/so/6513101$ npm -v
    1.0.15
    

Installing random package

alfred@alfred-laptop:~/node/so/6513101$ npm install notifo
notifo@0.0.2 ../../../node_modules/notifo 

In the past it would install into the same directory but it does not install in the same directory anymore. is my npm/node.js broken or am I missing something or does npm not anymore install local packages(inside same folder => ~/node/so/6513101/node_modules) which I thought was a cool feature because I could bundle all my dependencies so that other users did not have to install npm to use my code(I still believe users should install npm because it is a great product). The bundle command is gone so I can’t use that? Could someone please explain to me what is going on?

  • 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-23T09:27:25+00:00Added an answer on May 23, 2026 at 9:27 am

    npm walks up the folder tree until it finds a node_modules or a package.json and uses that as the root. What does npm root print out?

    If you mkdir node_modules or create a package.json file, then it’ll use the cwd.

    EDIT: I won’t see updates you post here. For better results, just post everything in the github issue, and let’s do the support over there.

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

Sidebar

Related Questions

I recently installed CouchDB, but haven't gotten past the test suite yet. It seems
I installed viemu, and now control-F and copy/past shortcuts are not working. How can
In past I use dynamic sql and datatable to get data from database. Such
In past, I am using Listview and using below code can show a particular
In the past I've never been a fan of using triggers on database tables.
I have ffmpeg already installed on my server for the past 6 months, everything
I have just installed the RTW 1.0 of the MVC framework. I was using
I have run into this problem a lot in the past, but never really
Alright, I've trying to set up a TeamCity server the past few hours, but
On Vista Ultimate (No SP), I installed Qt Creator 1.3 from Nokia, using the

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.