Martijn Saly
Martijn Saly
Running into this exact issue as well, trying to install [Jest](https://jestjs.io/docs/getting-started). ``` 42 verbose stack TypeError: Cannot set properties of null (setting 'peer') 42 verbose stack at visit (C:\Users\\AppData\Roaming\nvm\v16.15.1\node_modules\npm\node_modules\@npmcli\arborist\lib\calc-dep-flags.js:104:54) 42...
For me the node where it breaks: ```javascript ArboristLink { name: 'renewi-campaign', version: '2.0.0', location: 'node_modules/renewi-campaign', path: 'C:\\Projects\\Renewi\\src\\VGW.Web\\Frontend\\node_modules\\renewi-campaign', realpath: 'c:\\Projects\\Renewi\\src\\VGW.Web\\Frontend\\Campaign', resolved: 'file:../Campaign', dev: true, optional: true, isWorkspace: true, edgesIn: Set(1)...
Here's a workaround so that at least we can get back to work. In the `arborist` package, I've made these changes in the `calc-dep-flags.js` file: ```diff @@ -30,7 +30,7 @@...
Still the same. A new version has been released since I posted my diff with a fix, and it appears it hasn't been included. The bug still exists. Let me...
I'd rather not go with a workaround. Besides, the number of people complaining is far smaller than the number of people affected. And if everyone would go with a workaround,...
> Seems like the problem is actually in the package-lock.json file - when I revert my changes in package-lock after the first install of the new package, it installs again....
NPM devs - just ran into this again with the latest npm (8.19.2) that comes with Node.js 16.18.0. Can we please get an explanation of why this isn't bloody fixed...
Oy! Any and all NPM devs! Why do you keep releasing new versions of NPM without fixing this issues that COMPLETELY BREAKS NPM. It's been way too long since this...
I literally copypasted the YML from the Getting Started page. This one, to be exact:  If that's not good, or outdated, maybe someone should give it an update.
I don't know. Is it? I'm not familiar with YML formatting. Should say something after `jobs:` I suppose? I can understand why jobs is empty that way... Also still don't...