Cannot find module ‘internal/fs’ after upgrading to node 7

First, open the console as administrator (or in the terminal with sudo if it is a Linux) and:

npm cache clean

For npm 5 and later

npm cache clean --force

Leave a Comment