Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get started with scripting in Bruno using external npm modules. In the tutorials I've seen, people specify dependencies using the function, require('dependencyNameExample'), in the pre-script section of a request. However, I always get an error... "Error invoking remote method 'send-http-request': Error: Error: Cannot find module undefined". I've also tried accessing it as part of both the response ("res") and request ("req") parameters of the pre-script and post-script and I'm seeing a similar error "res.require() is not a function"
Right now I'm using 1.39.1
Beta Was this translation helpful? Give feedback.
All reactions