How can I require a local module outside a collection? #2000
-
Usecase: I want to have a local module that can be used ACROSS COLLECTIONS. Directory structure: local-module has a package.json and an index.js. No matter what I do in my "Pre Request" script I get the error I cant seem to access modules outside my collection. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@VictorioBerra take a look into #385 , you should configure the module in a white list, it only works in Pre Request section, in post response is not available because #1397 is not merged yet |
Beta Was this translation helpful? Give feedback.
you are missing additionalContextRoots config: #385 (reply in thread)