Answer the question
In order to leave comments, you need to log in
How to see installed packages in npm?
I have MacOS system, node is installed without npm module, npm itself is installed separately. I decided to update npm and after that it stopped seeing installed packages. I suspect that the path or symlinks have broken, I just don’t understand this well yet, so I want to turn to the public for help.
npm root command shows
/Users/username/node_modules
And if npm root -g
/usr/local/lib/node_modules
But when I want to check the list npm ls
/Users/username
└── (empty)
Packages are not seen as previously installed (before update), and again (after the update).
How to return everything back to normal?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question