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
Feature parity request, but could be considered a bug too.
What is the current behavior?
The npm run command sets an environment variable-- INIT_CWD which is not set by yarn, and one of our dependencies appears to rely on this variable being assigned. This variable is documented for npm here.
If the current behavior is a bug, please provide the steps to reproduce.
I don't have a repo, but if you add a "env" command to package.json and run it via "npm run env" and "yarn run env", you'll see that npm sets INIT_CWD where yarn does not.
What is the expected behavior? INIT_CWD should be set to the current path in context of the 'run' command (this applies for any dependencies' scripts, such as postinstall scripts).
Please mention your node.js, yarn and operating system version.
node v8.10.0, macOS 10.13.4
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Feature parity request, but could be considered a bug too.
What is the current behavior?
The npm run command sets an environment variable--
INIT_CWD
which is not set by yarn, and one of our dependencies appears to rely on this variable being assigned. This variable is documented for npm here.If the current behavior is a bug, please provide the steps to reproduce.
I don't have a repo, but if you add a "env" command to package.json and run it via "npm run env" and "yarn run env", you'll see that npm sets
INIT_CWD
where yarn does not.What is the expected behavior?
INIT_CWD
should be set to the current path in context of the 'run' command (this applies for any dependencies' scripts, such as postinstall scripts).Please mention your node.js, yarn and operating system version.
node v8.10.0, macOS 10.13.4
The text was updated successfully, but these errors were encountered: