Using the code in readme.md returns the following error:
(node:7952) UnhandledPromiseRejectionWarning: Error: The parameter 'app' was not passed in. This may indicate that you are running in node rather than electron.
I am very new to puppeteer, js and electron so I am unsure why this is happening.
This error occurs with and without adding a semicolon on the second line
(const pie = require("puppeteer-in-electron"))
Using the code in readme.md returns the following error: (node:7952) UnhandledPromiseRejectionWarning: Error: The parameter 'app' was not passed in. This may indicate that you are running in node rather than electron.
I am very new to puppeteer, js and electron so I am unsure why this is happening. This error occurs with and without adding a semicolon on the second line (const pie = require("puppeteer-in-electron"))