According to the NPM man page, npm gets its configuration information from 5 separate sources. When npm is launched on a *nix system without the user shell npm skips any configuration in the user's $HOME as well as ignores environment variables that might be set in the user's profile or environment.
This resolves #1889 and @ZuhayrMerchant110's issue as well as mine where the project directory prefixing the appium path.
Change list
Invoke NPM on Mac and Linux systems with Shell (/bin/sh) to have access to user profile configurations.
Types of changes
What types of changes are you proposing/introducing to Java client?
Put an x in the boxes that apply
[ ] No changes in production code.
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Details
Please provide more details about changes if it is necessary. If there are new features you can provide code samples which show the way they
work and possible use cases. Also you can create gists with pasted java code samples or put them here using markdown.
About markdown please read Mastering markdown and Writing on GitHub
According to the NPM man page, npm gets its configuration information from 5 separate sources. When npm is launched on a *nix system without the user shell npm skips any configuration in the user's $HOME as well as ignores environment variables that might be set in the user's profile or environment.
This resolves #1889 and @ZuhayrMerchant110's issue as well as mine where the project directory prefixing the appium path.
Change list
Invoke NPM on Mac and Linux systems with Shell (
/bin/sh
) to have access to user profile configurations.Types of changes
What types of changes are you proposing/introducing to Java client? Put an
x
in the boxes that applyDetails
Please provide more details about changes if it is necessary. If there are new features you can provide code samples which show the way they work and possible use cases. Also you can create gists with pasted java code samples or put them here using markdown. About markdown please read Mastering markdown and Writing on GitHub