You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed I couldn't install many npm packages because of:
npm ERR! not found: git
Digging deeper I noticed it's because of:
var pathEnv = opt.path || process.env.Path || process.env.PATH || ''
I have an env var on linux called Path (because it's needed by wine), so that is what gets split
I guess it would be better to check for the env var appropriate for the detected OS instead.
The text was updated successfully, but these errors were encountered:
Environs are path-insensitive on Windows anyway, so this should be unnecessary. Probably better to just drop the check for Path since it's returned by env.PATH on Windows, and meaningless on Unix?
I noticed I couldn't install many npm packages because of:
Digging deeper I noticed it's because of:
I have an env var on linux called
Path
(because it's needed by wine), so that is what gets splitI guess it would be better to check for the env var appropriate for the detected OS instead.
The text was updated successfully, but these errors were encountered: