You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
The "require("request")" assumes by default that is the "result" npm package (https://www.npmjs.com/package/request) because NO relative path is used; therefore, "npm install" will automatically assume the wrong package; but even worse, the "npm start" can fail because it cannot find the "request" module because it is not looking at "../request/..."
I highly recommend to change (around line 13 and 14 in ./lib/utils/httpRequestors.js):
var request = requestorConfig.request || Promise.promisifyAll(require("request"), {multiArgs: true});
to
var request = requestorConfig.request || Promise.promisifyAll(require("../request"), {multiArgs: true});