Skip to content
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

Nicer permission errors when trying to write global binaries #1592

Merged
merged 1 commit into from
Nov 2, 2016

Conversation

sebmck
Copy link
Contributor

@sebmck sebmck commented Nov 1, 2016

No description provided.

@@ -74,6 +74,7 @@ const messages = {
missingWhyDependency: 'Missing package name, folder or path to file to identify why a package has been installed',
unexpectedError: 'An unexpected error occurred, please open a bug report with the information provided in $0.',
jsonError: 'Error parsing JSON at $0, $1.',
noFilePermission: "We don't have permissions to touch the file $0.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'We'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yarn is talking to the user, seems appropriate, no?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd just say "Yarn doesn't…".

@bestander
Copy link
Member

scripts/bootstrap-env-ubuntu.sh failed one, cc @Daniel15.
Looks like a temporary issue, I restared

@sebmck
Copy link
Contributor Author

sebmck commented Nov 1, 2016

@bestander Yeah there have been 2 PRs that have added flaky tests. The end to end tests have been extremely flaky as well as a git test that was added.

@Daniel15
Copy link
Member

Daniel15 commented Nov 1, 2016

@kittens the end to end tests are not flaky - nothing is actually running them :P. They can't run on Circle since you can't run Docker within Docker. I'm going to be running them nightly.

@Daniel15
Copy link
Member

Daniel15 commented Nov 1, 2016

@bestander - Hopefully #1598 should fix that 😄

@sebmck sebmck merged commit 6e5c065 into master Nov 2, 2016
@sebmck sebmck deleted the nice-perm-errors branch November 2, 2016 12:04
Jessidhia pushed a commit to Jessidhia/yarn that referenced this pull request Nov 4, 2016
* master: (66 commits)
  Add --no-bin-links flag - fixes yarnpkg#929 (yarnpkg#1651)
  Add option to change the prefix of the global bin folder - fixes yarnpkg#630 (yarnpkg#1654)
  patterns -> filteredPatterns
  Add helpful nudge to yarnpkg/rfcs on issue template (yarnpkg#1650)
  Change reporter.log to console.log in generate-lock-entry command - fixes yarnpkg#644 (yarnpkg#1652)
  Fixed add command flag (yarnpkg#1653)
  Nested executables fix (yarnpkg#1210)
  Added short-flags for yarn add (yarnpkg#1618)
  Add name lookups to ls command - fixes yarnpkg#1599 (yarnpkg#1643)
  Disable flaky secureUrl test (yarnpkg#1644)
  Add unit tests for `yarn why`. (yarnpkg#1544)
  Refine flow type for config.generateHardModulePath (yarnpkg#1642)
  Use ~/Library/Caches as default cache location on OSX - fixes yarnpkg#1637 (yarnpkg#1638)
  Update aliases.js (yarnpkg#1635)
  Update aliases.js (yarnpkg#1634)
  Add webhook to archive AppVeyor build artifacts (yarnpkg#1631)
  Attempt to fix failing Circle CI builds (yarnpkg#1629)
  Adding 'yarn global upgrade'(Issue yarnpkg#776) (yarnpkg#1616)
  Show error message in stdout. (yarnpkg#1502)
  Nicer permission errors when trying to write global binaries - fixes yarnpkg#1578 (yarnpkg#1592)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants