"make requirements" error when trying to install phantomjs

When the `make requirements` command trying to install phantomjs, it shows this error:

...
info lifecycle phantomjs@1.9.20~install: Failed to exec install script
...
verbose stack Error: phantomjs@1.9.20 install: `node install.js`
verbose stack Exit status 1
...

And this solves that problem in my Ubuntu 16.04:

sudo apt install nodejs-legacy

Comments