class urlshim extends url lighthouse error:
vi /usr/lib/node_modules/lighthouse/lighthouse-core/lib/url-shim.js +1
Add this line:
global.URL = require(‘url’).URL;
class urlshim extends url lighthouse error:
vi /usr/lib/node_modules/lighthouse/lighthouse-core/lib/url-shim.js +1
Add this line:
global.URL = require(‘url’).URL;
curl -sL https://rpm.nodesource.com/setup_8.x | bash -
yum install nodejs