Skip to content

debugging tips for pnp #2875

Answered by paul-soporan
bdwain asked this question in Q&A
May 11, 2021 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

By having the ZipFS extension installed, you'll be able to click on symbols to go to definition inside the archives and you'll also be able to right-click on an archive to mount it. Once you're inside a file, you'll be able to edit and save it and PnP will use the modified version.

Yarn will also throw a CACHE_CHECKSUM_MISMATCH error on installs if you edit an archive and forget to revert it. You can then run YARN_CHECKSUM_BEHAVIOR=reset yarn to have Yarn fetch the archive again.

You can also do yarn unplug -AR '**/*' to unplug everything for local development and then revert those changes before you commit (we've discussed about having a way for yarn unplug not to persist the changes, bu…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@merceyz
Comment options

merceyz May 12, 2021
Collaborator

@bdwain
Comment options

@mattste
Comment options

@merceyz
Comment options

merceyz Sep 7, 2021
Collaborator

Answer selected by bdwain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants