question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module 'https-proxy-agent'

See original GitHub issue

Version

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

  1. Start a local bot server by node index.js, which listens http://localhost:3978/api/messages.
  2. 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sycqcommented, Dec 18, 2018

Thank you for your rapid action. Now it works!

0reactions
vansh187commented, Mar 18, 2019

Screenshot (1) can u tell me abou the error how to resolve

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found