When you update an NPM package and it starts deleting files on your computer it’s a bad day.

I actually dislike NPM and hugely complex build processes. The more complex it is the more likely it is to break and then require rewriting from scratch.

Keep any build process simple. Use as little as possible.