Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Locker error when starting up
TypeError: Invalid argument to getAgent
at Object.getAgent (http.js:1446:11)
at _getAgent (/home/channam/Code/Locker/node_modules/http-proxy/lib/node-http-proxy.js:48:30)
at [object Object].proxyRequest (/home/channam/Code/Locker/node_modules/http-proxy/lib/node-http-proxy.js:377:12)
at proxied (/home/channam/Code/Locker/Ops/webservice.js:336:11)
at Object.<anonymous> (/home/channam/Code/Locker/Ops/webservice.js:329:5)
at param (/home/channam/Code/Locker/node_modules/connect/lib/middleware/router.js:147:21)
at pass (/home/channam/Code/Locker/node_modules/connect/lib/middleware/router.js:163:10)
at Object.router [as handle] (/home/channam/Code/Locker/node_modules/connect/lib/middleware/router.js:169:6)
at next (/home/channam/Code/Locker/node_modules/connect/lib/http.js:204:15)
at Object.handle (/home/channam/Code/Locker/Ops/webservice.js:39:21)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.