I noticed I couldn't install many npm packages because of:
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.
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.