npm ERR! weird error 1

Do you get the following error while installing a node package?

npm ERR! weird error 1

Try removing the phantom.js from your machine using the following command.

sudo rm -rf T/phantomjs/

And then try installing the package again. Hopefully, it resolves the issue. If not then more information can be found at the following.

Github Issue 1
Github Issue 2

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *