electron / electron/minimal-repro

Install.js not respecting local npm repo

Open
#548 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.4k
Forks
4.9k
Avg merge
3h 39m
Merged PRs (30d)
6

Description

My organisation uses **Nexus** for serving npm packages. And my local npm registry is configured to use the same. Running `npm get registry` returns the Nexus registry url.

But when I do `npm install` for this repo, during the **postinstall** step of **electron** it runs the script `node install.js` which is connecting to github.com instead of the Nexus registry.

I am getting below error
RequestError: connect TOMEOUT 140.82.121.3:443

Do I need any other configuration for this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Electron's postinstall step and the install.js script mentioned in the report, then compare its registry behavior with the value returned by npm get registry. Reproduce the npm install failure against the configured Nexus registry; done means the install no longer connects to github.com or produces the reported timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, node.js
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.