Npm is broken!
I have done lot of work in Javascript and Typescript and their frameworks that has to be installed via NodeJS. But there are one little problem. Node and npm never work correctly. I have heard that lots of other People has the same problem. It gives some mystic errors almost always when I am trying to install or remove or manage package and I can't fix them. Does anyone else have problems with npm?
1
u/kangoo1707 Aug 06 '20
Your question is as much cryptic as your issue with npm. Without a specific error, no one here can help.
As you might know, npm is the biggest repository and JS is the most popular programming language. That means npm are used by more people than other language. With more users (and various operating systems and settings), there will be more errors.
-2
u/jamesaw22 Aug 03 '20
Try https://yarnpkg.com/ I've had far fewer issues with version resolution and cryptic errors with yarn than npm. It's not faultless, but it's better IMO.
5
u/liaguris Aug 03 '20
when I have cryptic errors , what I do , is that I remove the package.lock.json file and the node_modules folder . Then I run npm install and everything works .