Kat Marchán
Kat Marchán
update: I'm working on this now. It's important to point out that the `--unsafe-perm` flag is for `run-script`, not for installation. I'm trying to make sure I understand why npm@4...
update 2: this fell by the wayside and I'm unlikely to tackle it for a while, so if any brave soul wants to take it on, please be my guest!
@kjetilk I would be very surprised if cacache were causing this. I'm pretty sure the issue is between `lib/fetchers/git.js` and `lib/util/git.js`.
I like how rikaichamp handles this: https://github.com/birtles/rikaichamp/issues/48#issuecomment-725774606
There's also a wiki page about it that's a bit more human-consumable over at https://github.com/npm/npm/wiki/Files-and-Ignores
@silverwind you wanna PR that? :)
Thanks for the thorough report! Would you like to give a patch a shot? I'm not sure what the exact right place to fix this is, either. It's interesting that...
@LINKIWI I'm more wondering why the heck `Headers` even errors on a read. It's just plain weird to me?
Note: this probably means we'll need to do the redirect on our side rather than leaving it to node-fetch, since intermediate cookies are a thing and node-fetch has no hook...
This might be pretty doable once #26 is fixed 🎉