-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Persist cache * Add persistent global bin to yarn
- Loading branch information
1 parent
5a5cbe1
commit e4cc2c3
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
e4cc2c3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this. Looks like it should be
yarn config set cache-folder
, vsyarn config set cache
. See https://yarnpkg.com/en/docs/cli/cache.e4cc2c3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks π fixed with f16311a
e4cc2c3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! It is working better, but there is still some kind of issue:
The result is unable to find polymer. It appears to be a missing
..\
in thepolymer.cmd
that gets generated, but I'm not sure how. Also, a lot of files are still installed by Yarn into%APPDATA%
. I'm going back to the Windows NodeJS installer + NPM for the time being.e4cc2c3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should revert theses changes. Yarn keeps adding stuff to
%APPDATA%
anyway, so there is no real benefit for adding persistence tobin
andcache
.Your
polymer.cmd
problem seems related to yarnpkg/yarn#2224If I install polymer it results in this
@"%~dp0\C:\Users\r15ch13\AppData\Local\Yarn\config\global\node_modules\.bin\polymer.cmd"
.%~dp0
resolves to the current directory...