ReferenceError: URL is not defined

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;

Views All Time
Views All Time
56
Views Today
Views Today
1

Leave a Reply

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