Lbry-desktop: Yarn isn't pulling in latest lbry-redux changes

Created on 24 Apr 2018  路  9Comments  路  Source: lbryio/lbry-desktop

The Issue

Sometimes the yarn command isn't pulling in the latest lbry-redux changes. I've had to clear everything out and then use npm i to get it to work. Pretty sure it's something with yarn's global cache

Steps to Reproduce

  1. run yarn
  2. merge a PR into lbry-redux
  3. run yarn again
  4. see that it isn't up to date

Expected Behaviour

It should pull the latest files

devops exploration

All 9 comments

rm -r node_modules && yarn cache clean && yarn

Nice. We should probably just add this as a script. Maybe clean?

install:clean ?
I'm not good with names :upside_down_face:

Windows would be: del node_modules && yarn cache clean && yarn

:warning: If yarn is installing the wrong versions of any dependencies, run the following:

$yarn cache clean
$yarn

:point_up: add the --pure-lockfile argument to yarn to ensure you install all dependencies exactly as specified in the current yarn.lock file.

paratii-portal/README.md#installing

@seanyesmunt should we leave this open until we can find out a more automated process to run the commands? Or open a new issue for that?

Lets just keep this one open

Closing this. We now clear the yarn cache for lbry-redux on every install.

Was this page helpful?
0 / 5 - 0 ratings