Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] NPM fails when trying to install gulp CLI 2.3.0 in restricted environment #8035

Open
2 tasks done
sunnynagavo opened this issue Jan 16, 2025 · 0 comments
Open
2 tasks done
Labels
Bug thing that needs fixing Needs Triage needs review for next steps

Comments

@sunnynagavo
Copy link

sunnynagavo commented Jan 16, 2025

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

I have the following task in my ADO pipeline and we are trying to restrict access to outside public repos.

  • task: Npm@1
    displayName: 'Install Gulp CLI Globally'
    inputs:
    command: custom
    customCommand: 'install -g [email protected]

I have npmrc file where I specified to use the local feed as registry, even then it tries to connect to registry.npmjs.org and I dont know why ?

error details:
npm error network request to https://registry.npmjs.org/gulp-cli failed, reason: Client network socket disconnected before secure TLS connection was established
npm error network This is a problem related to network connectivity.

Expected Behavior

No response

Steps To Reproduce

running install -g [email protected]

Environment

  • npm: 10.7.0
  • Node.js: v18.20.4
  • OS Name:
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here
@sunnynagavo sunnynagavo added Bug thing that needs fixing Needs Triage needs review for next steps labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps
Projects
None yet
Development

No branches or pull requests

1 participant