Issue encountered while attempting to download npm for older versions

When utilizing nvm for windows, I typically run 'nvm install' in my VS Code terminal followed by 'nvm use'. However, I have encountered an issue where the command 'npm' is not recognized for older versions of Node. Specifically, when attempting to install an older version of Node (such as version 10.24.1), I receive a message indicating that there was an error while downloading npm version 6.14.12. The error message displayed states: "Error while downloading https://github.com/npm/cli/archive/v6.14.12.zip - Get "https://github.com/npm/cli/archive/v6.14.12.zip": net/http: TLS handshake timeout panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x20 pc=0xd8a5a7]."

Furthermore, upon trying to check the npm version using 'npm -v', I am informed that npm is not recognized. It seems that only LTS releases of Node are compatible with npm and do not produce any errors.

Answer №1

My organization had initially blocked access, but once they granted me permission, I was able to successfully download it.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Deployment of an Azure web app using Node.js is encountering issues due to a missing npm

Hey there! I'm running into an issue while trying to deploy my Azure web app using Azure Pipelines from a git repository. Everything works perfectly fine locally, but when deployed, I keep getting an error saying that the package is-docker is missing ...

Why won't my Angular app hit a breakpoint while debugging?

I'm relatively new to the world of Visual Studio Code and Angular applications with a C# Web API back-end. My issue lies in hitting breakpoints within my Angular app using VS Code, even though I can hit them without any problems in C#! Running both a ...

Problems during the installation of Webpack

Encountering Error Setting up Webpack and Babel with NPM npm ERR! Unexpected end of JSON input while parsing near '...pdragon":"^0.7.0","to' npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found ...

What steps can be taken to retract an incorrect version release made by semantic-release and issue a new version with the correct release number?

I recently utilized the semantic-release package, which automates the release of my library to npm via my Github repository by integrating with my CI system. Unfortunately, I encountered a situation where a breaking change was overlooked and not included ...

Installing npm on a Create React App applicationI just installed npm on my brand

After successfully creating an app with Create React App, I decided to try running npm install in a new folder, but encountered issues. My goal is to test this app so that I can share its source code without including the bulky node_modules folder. Unfort ...

I am having trouble getting my angular library published successfully

I'm facing an issue while trying to publish my angular package. I keep encountering this error. https://i.stack.imgur.com/nhYMY.png Here is a screenshot of my package.json file https://i.stack.imgur.com/mWsin.png. ...

`The Art of Curved Arrows in sigjma.js, typescript, and npm`

I have encountered an issue while trying to draw curved arrows in sigma.js within my TypeScript npm project. The error occurs on the browser/client-side: Uncaught TypeError: Cannot read properties of undefined (reading 'process') at Sigma.pro ...

There are two modals present on the page, however only one of them is triggered for all actions in Angular 2

I'm encountering an issue with my page where I have set up two confirmation modals - one for resetting a form and another for deleting an item. Strangely, only the reset modal is being triggered for both actions and I can't figure out why. Could ...

Setting up Node on a Ubuntu system

Currently, I am in the process of installing Node.js to run my Angular2 program. However, I encountered an error during the installation: npm WARN npm npm does not support Node.js v0.10.25 npm WARN npm You should probably upgrade to a newer version of nod ...

initiate an animated sequence upon the initialization of the Angular server

Is there a way to launch a Netflix animation after my server has started without success using setTimeout? I don't want to share the lengthy HTML and CSS code. You can view the code for the animation in question by visiting: https://codepen.io/claudi ...

Setting up Firestore with @angular/fire 17 and Ionic @ionic/angular 7.6.2 for full offline functionality: a step-by-step guide

Recently, I've delved into app development using Angular, Ionic, and Firebase. Currently, I'm grappling with the challenge of setting up offline capabilities/unlimited cache size with AngularFire, and it's been days of confusion and dead-en ...

My component reference seems to have gone missing in angular2

Trying to load my Angular 2 app, I encountered this error: https://i.stack.imgur.com/FmgZE.png Despite having all the necessary files in place. https://i.stack.imgur.com/kj9cP.png Any suggestions on how to resolve this issue? Here is a snippet from ap ...

Encountering Issues with Accessing Property

Upon trying to run my code, the console is displaying an error that I am unable to resolve. The error specifically states: "TypeError: Cannot read property 'author' of undefined." View the StackBlitz project here The error seems to be coming fr ...

Troubleshooting issues with unit testing a component that utilizes a mocked service

I recently delved into testing Angular components and services. After watching a course on Pluralsight, I tried implementing some ideas from the tutorial available at . Unfortunately, I encountered an issue with testing the component method. Despite my eff ...

Troubleshooting npm installation issues on Ubuntu 18.04

While attempting to set up Hooper for a Vue.js example, I used the command: $ npm install hooper This resulted in the following error message: npm ERR! file /home/juanlh/package.json npm ERR! code EJSONPARSE npm ERR! JSON.parse Failed to parse json npm ...

How can I effectively make properties accessible in my template to facilitate form validation in Angular?

Scenario: I'm facing a situation in my Angular project where I have a LoginFormComponent. This component has a form with two properties: email and password. My goal is to create properties within this component that can be accessed in the template. Th ...

Angular 12 route loading component without needing to explicitly declare it in the module registration

Update on Angular Version and CLI Attention: We have a significant change coming up with the next release regarding the CLI npm package. The package will be moved to "@angular/cli" and will only support Node version 6.9 and above. After this transition, t ...

Why is Angular ng-block-ui not functioning properly in Angular 7?

Within my app.module.ts file import { BlockUIModule } from 'ng-block-ui'; imports: [ BrowserModule, BlockUIModule.forRoot(), ] Inside the dashboard component: import { BlockUI, NgBlockUI } from 'ng-block-ui'; export class Da ...

Encountering errors in Angular when trying to access a property that is undefined using

One of the components I've created is being used in its parent component: <app-event-menu-nav [event]="event"></app-event-menu-nav> Below is the code for this component: import {Component, OnInit, ChangeDetectionStrategy, Input} ...

Access denied when executing npm run dev

On a single server, I have multiple websites. However, when I execute the command npm run dev (an abbreviation for npm run development) on one specific site, it returns a permission denied error related to the main /tmp/developmentblabla.sh directory. In ...