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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:38:18+00:00 2026-06-17T06:38:18+00:00

I have installed express, fs and couple of packages. when I do npm ls

  • 0

I have installed express, fs and couple of packages.
when I do

npm ls

I am getting the following Error:

â   âââ mime@1.2.6
âââ fs@0.0.0 extraneous
âââ node-uuid@1.4.0

npm ERR! extraneous: fs@0.0.0 /home/user123/trail/node_modules/fs
npm ERR! extraneous: express@3.0.5 /home/user123/trail/node_modules/express
npm ERR! not ok code 0

I am not sure how to get this ERR out?
I am able to run my sample application using the azure and express.
not sure if it is taking from sudo npm ? if so how.
I want to know when will it take from sudo npm list (global)? and when from npm list (locally).

sudo npm ls

there are no Errors

  • 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-17T06:38:19+00:00Added an answer on June 17, 2026 at 6:38 am

    npm prune should take care of it.
    Except it deletes the dependecy after the fact. And that might not be what you want to do.

    In case you need the dependency, declare it in package.json like this:

    …
    “dependencies”: {
    “express”: “3.0.5”
    },
    …

    Also note that dependency ‘fs’ is part of node and there is no need to declare in package.json explicitly.

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

Sidebar

Related Questions

O/S: Windows 7 ,Home Premium I have just installed IIS manager Express from Web
I have installed Android SDK and packages. Since I had an error when opening
I have Node.js installed on a RedHat instance of EC2. I also installed Express
I have installed VB.NET express 2010 version and I am trying to create a
I have installed Oracle 10g Express Edition database on a server and install the
I have installed team foundation server 2012 express and am wanting to connect through
I have just installed C# 2008 Express Edition 2008 and started writing code. My
I have installed SQL Server 2008 R2 Express on Windows 7. When I run
I use VisualStudio 2010 and olso have Visual C# 2010 Express installed on my
I have installed VS2012 express.It uses VC11 compiler.I need to add also VC10 compiler

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.