You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\projects\playwright_lighthouse_report\node_modules\lighthouse\core\index.js from C:\projects\playwright_lighthouse_report\node_modules\playwright-lighthouse\src\task.js not supported.
Instead change the require of index.js in C:\projects\playwright_lighthouse_report\node_modules\playwright-lighthouse\src\task.js to a dynamic import() which is available in all CommonJS modules.
how to solve it pls?
The text was updated successfully, but these errors were encountered:
I am getting this error:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\projects\playwright_lighthouse_report\node_modules\lighthouse\core\index.js from C:\projects\playwright_lighthouse_report\node_modules\playwright-lighthouse\src\task.js not supported.
Instead change the require of index.js in C:\projects\playwright_lighthouse_report\node_modules\playwright-lighthouse\src\task.js to a dynamic import() which is available in all CommonJS modules.
how to solve it pls?
The text was updated successfully, but these errors were encountered: