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 .
- 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 .
- 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 .