🏗 Add a check for the default gulp executable path#22459
Merged
rsimha merged 2 commits intoampproject:masterfrom May 23, 2019
rsimha:2019-05-22-WarnGulp
Merged
🏗 Add a check for the default gulp executable path#22459rsimha merged 2 commits intoampproject:masterfrom rsimha:2019-05-22-WarnGulp
gulp executable path#22459rsimha merged 2 commits intoampproject:masterfrom
rsimha:2019-05-22-WarnGulp
Conversation
Contributor
Author
|
@choumx I've tested this on macOS and Linux, and it seemed to do the trick in all the cases I tried. Let me know if it works for your case. |
gulp executable path
erwinmombay
approved these changes
May 23, 2019
erwinmombay
reviewed
May 23, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR detects if there's a possibly incorrect version of
gulpsomewhere in the user's$PATH, and prints a warning before carrying on.This was prompted by a report from @choumx who saw the error below, which turned out to be due to an older version of
gulppresent in/usr/local/bin/.Notes:
The
gulpchecks incheck-package-manager.js:yarn(which is run much less frequently), and don't slow down actual invocations ofgulpyarncommand from running even if they find problems