Open luccitan opened 4 weeks ago
Have you tried enable puppeteer in bruno.json by whitelisting it ?
Have you tried enable puppeteer in bruno.json by whitelisting it ?
I managed to go beyond this error by whitelisting bultin modules that failed to be loaded :
"scripts": {
"moduleWhitelist": [
"fs/promises",
"os",
"child_process",
"readline",
"net",
"tty",
"tls",
"crypto",
"events"
],
"filesystemAccess": {
"allow": true
}
}
but now I have issues because process.stderr
seems to be undefined
under Electron
I'm not sure you can access fs
in the scripts, as those are exectued on client side (nextJs), not on the backend (Electron)
I have checked the following:
Describe the bug
I am trying to write a pre-request script for my whole collection, and that script relies on puppeteer.
With this import :
I get this as a response :
I tried with multiple versions of puppeteer, but this does not seem relevant as
fs/promises
should be available for Node > 14, and current Bruno uses Node 16.16 if I'm not mistaken.bru file to reproduce the bug
No response
Screenshots/Live demo link
Error logged from catching described above :
Dump from
console.log(process.versions)
in my Bruno script :My Bruno
package.json
: