Resolve NPM install “unmet dependency” warning

Sometimes when you try to install node modules , npm prompts the following warning message :


npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined

Because of this some of the node modules might not get installed correctly . There are couple of main reasons why this could happen .

  1. You might be using a older version of NPM .
    Solution : Check your NPM version and make sure it is upto date . If not try updating your NPM application globally .
  2. Network interruptions while downloading dependencies or NPM cache problems Solution :  Ctrl + Del the local node_modules folder and run “npm cache clean” . This should enable you to run a clean “npm install” again .

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s