Hacker News new | ask | show | jobs
by adevx 1594 days ago
I never understood this npm hell reference people are speaking off. Is this just the drama of updating an outdated inherited project? I've been working with node/npm since the early days and don't consider it worse than what you find in Java, Python or PHP.
1 comments

The latest version of webpack removed polyfill, this broke another dependency, and i had to downgrade the react version to fix that!

Nothing like this did I ever see in the go or kotlin world.

If you depend on a specific behaviour why dont you pin your react version?
I learnt that much later. Apparently the current version of webpack that you get by following the official react project setup is missing certain polyfills!
Couldn't you have pinned your dependency and / or installed from a lockfile?