Comments (4)
I'm not sure you can access fs
in the scripts, as those are exectued on client side (nextJs), not on the backend (Electron)
from bruno.
Have you tried enable puppeteer in bruno.json by whitelisting it ?
from bruno.
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
from bruno.
I ended up with a workaround for my needs, I'm closing the issue with no provided solution
from bruno.
Related Issues (20)
- Information about sponsorship tiers
- Invalid request when trying to get access token HOT 1
- No update to folders on folder.bru file changes by event listener
- Error in Developer Tools
- Cookies in CLI
- Req.Name option to be used on Scripts and tests
- OpenAPI spec v3 doesn't load HOT 1
- Cant press send button if URL becomes to long HOT 3
- Logs are not logged HOT 4
- Using the search tool to search a collection causes the app to crash HOT 3
- Script execution with imported library throws error "Error invoking remote method 'send-http-request': VMError: Native modules can be required only with context set to 'host'." HOT 1
- There's no apparent way to add a path. HOT 4
- Request body value gets cut off and stays hidden
- Autocomplete for pre-build and imported libraries.
- The NPM run Dev does not work HOT 1
- process.env.xxx variables do not appear to function with multiple collections
- bruno SBOM HOT 1
- DX: Adding a dev script to avoid the need for 2 terminals
- Not latest version from `apt` HOT 1
- Bruno 1.24.0 is very slow when obfuscating tokens HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bruno.