Fix Error: Cannot find module ‘npmlog’

It takes relatively more time to get nodejs compiled and installed on Linux workstations. And, the new node binary installations seem not work out of the box, just if you do a copy of lib, share, bin folder to /usr/local/ . npm gives the error: Cannot find module ‘npmlog’.

So sequence of steps you have to do a right installation are here:

To have sudo-able executables, you may as well add these too:

Leave a Reply