cli icon indicating copy to clipboard operation
cli copied to clipboard

Terminal crashes right after running "npm install" command from any of the projects

Open Arsasana opened this issue 5 years ago • 3 comments

"npm install" command is not working as expected, as soon as I run npm install command from any of the terminals (say powershell/command prompt), terminal gets closed abruptly. This is the cases with different projects. Tried degrading and upgrading the versions of nodejs, but was not able to fix the issue Tried cleaning the cache via npm cache clean --force, still the issue didn't get solved

  • OS: Windows 10
  • Node: 14.16.0

Can someone help me in fixing this issue?

Arsasana avatar Mar 29 '21 12:03 Arsasana

we need more information that would be present in our issue template. at a minimum we'll need to know what version of npm you're using.

you say this happens with different projects, do you have any projects that work correctly? do you see any error messages or the like before the terminal closes? do you get a crash report from windows?

if you can reproduce this reliably, the steps to do so would help us diagnose what's going on.

nlf avatar Mar 29 '21 18:03 nlf

Hi,

Sorry my terminology might be wrong , by crashing I mean terminal is getting closed while the command is executing. There aren't any logs/ any windows report as such and no error message even.

Thanks, Arpitha

From: nlf @.> Sent: 29 March 2021 23:59 To: npm/cli @.> Cc: Arpitha Sasanapuri @.>; Author @.> Subject: Re: [npm/cli] Terminal crashes right after running "npm install" command from any of the projects (#2984)

we need more information that would be present in our issue template. at a minimum we'll need to know what version of npm you're using.

you say this happens with different projects, do you have any projects that work correctly? do you see any error messages or the like before the terminal closes? do you get a crash report from windows?

if you can reproduce this reliably, the steps to do so would help us diagnose what's going on.

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnpm%2Fcli%2Fissues%2F2984%23issuecomment-809610972&data=04%7C01%7CArpitha.Sasanapuri%40microsoft.com%7C13a4e9fb369a418cc0bd08d8f2e0784e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637526393260513922%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tBo%2FSYjEkI4ckRk7EHi7cQQBr9SQRazN7nl%2F%2FO2iiKA%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMOZ3GRKU67Z6HSR64TRQHTTGDBFLANCNFSM4Z7OYEVA&data=04%7C01%7CArpitha.Sasanapuri%40microsoft.com%7C13a4e9fb369a418cc0bd08d8f2e0784e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637526393260513922%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HBtDDjCDimoDZgZaa1k0yllar7ICkUFXUiJoFBYi%2B7A%3D&reserved=0.

Arsasana avatar Mar 29 '21 18:03 Arsasana

i still can't reproduce this and need significantly more information in order to try to diagnose. if this is still happening to you, please open a new issue and fill out the issue template in its entirety.

nlf avatar Apr 07 '21 15:04 nlf