Different results in npm audit #17475

Closed
opened 2026-01-31 05:43:33 +00:00 by claunia · 8 comments
Owner

Originally created by @nirgranth on GitHub (May 13, 2022).

Windows Terminal version

1.12.19083.0

Windows build number

10.0.22000.318

Other Software

No response

Steps to reproduce

recently upgraded for win 10 to 11
running npm audit in cmd, cant even fix it with npm audit fix,

idk if this is the right place for this i cant seem to find the cmd/cli repo

Expected Behavior

Everyting matches

Actual Behavior

Uploading image.png…

Originally created by @nirgranth on GitHub (May 13, 2022). ### Windows Terminal version 1.12.19083.0 ### Windows build number 10.0.22000.318 ### Other Software _No response_ ### Steps to reproduce recently upgraded for win 10 to 11 running npm audit in cmd, cant even fix it with npm audit fix, idk if this is the right place for this i cant seem to find the cmd/cli repo ### Expected Behavior Everyting matches ### Actual Behavior ![Uploading image.png…]()
Author
Owner

@DHowett commented on GitHub (May 13, 2022):

I'm sorry, it looks like the image you uploaded didn't work out. Can you re-send it?

@DHowett commented on GitHub (May 13, 2022): I'm sorry, it looks like the image you uploaded didn't work out. Can you re-send it?
Author
Owner

@nirgranth commented on GitHub (May 13, 2022):

image

@nirgranth commented on GitHub (May 13, 2022): ![image](https://user-images.githubusercontent.com/48947296/168225747-8ceb404f-441e-49c1-9fbe-1f499d765113.png)
Author
Owner

@zadjii-msft commented on GitHub (May 13, 2022):

If you run where npm in each, do you get the same NPM/? I suspect this might have to do with the two windows having different PATHs.

@zadjii-msft commented on GitHub (May 13, 2022): If you run `where npm` in each, do you get the same NPM/? I suspect this might have to do with the two windows having different `PATH`s.
Author
Owner

@nirgranth commented on GitHub (May 14, 2022):

image

npm help-
image

@nirgranth commented on GitHub (May 14, 2022): ![image](https://user-images.githubusercontent.com/48947296/168405285-b15c8dda-6fa6-45a8-a7db-1a2bba6bc7de.png) npm help- ![image](https://user-images.githubusercontent.com/48947296/168405311-a35e9578-6169-45fb-ab68-37d30b99ae66.png)
Author
Owner

@elsaco commented on GitHub (May 14, 2022):

@Nirgranth when using admin, find where your packages are located with npm root and npm root -g. Also, check if C:\Windows\System32\node_modules is present. Looks like you have vulnerable node packages installed in C:\Windows\System32\node_modules.

@elsaco commented on GitHub (May 14, 2022): @Nirgranth when using admin, find where your packages are located with `npm root` and `npm root -g`. Also, check if `C:\Windows\System32\node_modules` is present. Looks like you have vulnerable node packages installed in `C:\Windows\System32\node_modules`.
Author
Owner

@nirgranth commented on GitHub (May 14, 2022):

@Nirgranth when using admin, find where your packages are located with npm root and npm root -g. Also, check if C:\Windows\System32\node_modules is present. Looks like you have vulnerable node packages installed in C:\Windows\System32\node_modules.

yup you are correct, how do i fix it

@nirgranth commented on GitHub (May 14, 2022): > @Nirgranth when using admin, find where your packages are located with `npm root` and `npm root -g`. Also, check if `C:\Windows\System32\node_modules` is present. Looks like you have vulnerable node packages installed in `C:\Windows\System32\node_modules`. yup you are correct, how do i fix it
Author
Owner

@zadjii-msft commented on GitHub (May 16, 2022):

find where your packages are located with npm root and npm root -g. Also, check if C:\Windows\System32\node_modules is present. Looks like you have vulnerable node packages installed in C:\Windows\System32\node_modules.

yup you are correct, how do i fix it

Honestly I don't know - you might be able to find more help on StackOverflow or the npm repo itself. Since this doesn't seem like a Terminal-specific issue, I'm gonna close this out. Thanks!

@zadjii-msft commented on GitHub (May 16, 2022): > > find where your packages are located with `npm root` and `npm root -g`. Also, check if `C:\Windows\System32\node_modules` is present. Looks like you have vulnerable node packages installed in `C:\Windows\System32\node_modules`. > > yup you are correct, how do i fix it Honestly I don't know - you might be able to find more help on StackOverflow or the npm repo itself. Since this doesn't seem like a Terminal-specific issue, I'm gonna close this out. Thanks!
Author
Owner

@nirgranth commented on GitHub (May 16, 2022):

Honestly I don't know - you might be able to find more help on StackOverflow or the npm repo itself. Since this doesn't seem like a Terminal-specific issue, I'm gonna close this out. Thanks!
okay thanks

@nirgranth commented on GitHub (May 16, 2022): > Honestly I don't know - you might be able to find more help on StackOverflow or the npm repo itself. Since this doesn't seem like a Terminal-specific issue, I'm gonna close this out. Thanks! okay thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17475