-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding yarn install path to %PATH% #1
Comments
I ran into this same problem yesterday. Unfortunately didn't see this issue in the repo or could've saved myself a few hours of troubleshooting :) Anyways, came to the same conclusion that the PATH should also be set. I used the following snippet to set it in a more "dynamic" way:
Basically, it calls Final version:
|
Does this not result in the PATH constantly being made longer? |
For some reason, out of nowhere App Services stopped finding my npm executables, meaning that
yarn
could not be located.The error will manifest itself something like,
My fix was to add the path to NPM executables to the batch PATH environmental variable.
so it now looks like this,
I don't know if other's are experiencing this issue, but if they are, I hope this leads them here. I am not 100% sure if the path will stay the same in every scenario, or it needs to be set in a more dynamic way, else you should be able to use this small addition in these scripts.
The text was updated successfully, but these errors were encountered: