Open mniak opened 2 months ago
@mniak The simplest solution is to simply install the dependency yourself. I currently load the file using module.require. But I can't inject my own packages via this API, or I don't know at the moment. I'll check what options I have, but I'll need time for that as I don't know the API very well.
I have a server whose certificate name does not match the dns name. So I have been using the following code inside the
.http
file to skip cert verification:But since there are various files, I was trying to move this config to a hook into the
httpyac.config.js
file. But whenrequire
ing'@grpc/grpc-js'
there, it complains that the module could not be found. That shouldn't be the case, since the module indeed is already somewhere in order to work during the request.