Skip to content

[BUG] Proxy settings appear to be ignored. #137

@shadow7412

Description

@shadow7412

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Proxy settings are ignored. Requests assume that a proxy is not required.

Expected Behavior

Proxy settings should be honoured.

Steps To Reproduce

  1. Run pacote.packument("any-name", {proxy: "http://localhost:8080"})
  2. Requests made should fail (unless you happen to have a proxy set up at that address)

(Note, bug originally raised here: raineorshine/npm-check-updates#1069)

Environment

  • npm: 8.5.4
  • Node: 17.7.1
  • OS: Windows 11
  • platform: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds an initial review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions