Replies: 1 comment
-
Ok, I am not sure what I did to eventually get the I have also tried to manually delete |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have an Electron app for which I am trying to get
x64
andarm64
binaries on Windows. On my Windows machine, I originally didpnpm install
to install my dependencies, includingelectron
. Even though I am using Windows on ARM, it installed thex64
version ofelectron
. I guess I can live with that.However, I then emptied my
node_modules
folder and didpnpm install --config.target_arch=arm64
thinking that it would install thearm64
version ofelectron
. Well, it did not. It just reinstalled thex64
version.Knowing that
pnpm
caches things, I decided to prune its store (usingpnpm store prune
) and try again and... sure enough, I now have thearm64
version ofelectron
.Still, I really wish I didn't have to prune the
pnpm
's store and that, instead,pnpm
would properly check that whatever is in the store does indeed correspond to the target architecture that I want.Cheers, Alan.
P.S.: this aside, I am really enjoying using
pnpm
, especially after having usednpm
andyarn
! :)Beta Was this translation helpful? Give feedback.
All reactions