npm-dependency-graph icon indicating copy to clipboard operation
npm-dependency-graph copied to clipboard

Can't run on Windows due to NodeJS patch CVE-2024-27980

Open EmmetBeachBum opened this issue 1 year ago • 0 comments
trafficstars

Howdy!

I'd love to try running this on my Windows machine and hooking this up to my private NPM registry.

However, I'm getting the following error when running the yarn command on the repo:

After some Googling I've seen this is a known Windows issue caused by a security patch for NodeJS. The apparent fix for it is to run the spawn command while passing shell: true. Of course, the issue here is that the NodeJS code is not written directly in the repo's files - it is called by Yarn somehow.

I'm sorry if this is a n00b question, but what do I need to do or change in order to install and run this solution?

Thanks in advance!

EmmetBeachBum avatar Jul 26 '24 11:07 EmmetBeachBum