30

"Delete node_modules folder and execute npm install" is the js version for "reboot the machine". Often works, but no one knows exactly why.

Comments
  • 2
    Because npm sucks? It probably failed to install an arbitrary sub-dependency again. That bug has been around for like four years now. 😞😧

    (Or because someone was dumb and modified one of the files.)
  • 1
    I don't really understand the inners from npm and yarn, but since I switched to yarn it never happened again... Give it a try!
  • 1
    @pomodoroDev Yarn > NPM. Absolutely.
Add Comment