Cannot find module 'https-proxy-agent'
See original GitHub issueVersion
4.2.0 - windows (env: 10/64bit)
Describe the bug
After updating to 4.2.0 from 4.1.0, I got to have following error message on the initial connect to the local bot application.
Cannot find module 'https-proxy-agent'
logs
[11:33:01]Emulator listening on http://localhost:xxxxx
[11:33:01]ngrok not configured (only needed when connecting to remotely hosted bots)
[11:33:01]Connecting to bots hosted remotely
[11:33:01]Edit ngrok settings
[11:33:01]POST201directline.startConversation
[11:33:01]Cannot find module 'https-proxy-agent'
[11:33:01]Cannot find module 'https-proxy-agent'
To Reproduce
- Start a local bot server by
node index.js
, which listens http://localhost:3978/api/messages. - Connect to the endpoint without ngrok
Expected behavior
Successfully connected to the server (or, Connection Refused, etc…).
Additional context
Rolling back to the 4.1.0, this error does not happen.
But Emulator updates itself automatically, so it is very unuseful.
[bug]
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
https-proxy-agent - npm
This module provides an http.Agent implementation that connects to a specified HTTP or HTTPS proxy server, and can be used with the built-in ......
Read more >Cannot find module 'http-simple-proxy' - node.js - Stack Overflow
I installed http-simple-proxy globally. Globally installed packages are not available for import/require from Node.js programs.
Read more >https-proxy-agent - npm Package Health Analysis - Snyk
The npm package https-proxy-agent was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as...
Read more >Cannot find module 'https-proxy-agent'_子燕若水的博客
成功解决:Cannot find module 'https-proxy-agent'解决之后:解决方案:
Read more >Node.js: error "Can't resolve https | net | tls"
... Module not found: Error: Can't resolve 'tls' in '/home/vsts/work/1/s/EnvironmentManager/ClientApp/node_modules/https-proxy-agent'.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your rapid action. Now it works!
can u tell me abou the error how to resolve