because it's nothing something that ever surfaces in the first page of google when searching "how to use npm" and it's never discussed in any youtube videos or bootcamp programs. it's only ever something 'found' when dredging through stackoverflow when searching for error messages.
Sounds like you actually have no idea how resistance occurs. There are mechanisms for bacteria to gain resistance they didn't start out with, it's called horizontal gene transfer. At least read the wiki before you speaking so confidently about something you know so little about.