yarn icon indicating copy to clipboard operation
yarn copied to clipboard

Yarn can't specifying the parameter --arch?

Open luojinghui opened this issue 4 years ago • 2 comments

Do you want to request a feature or report a bug?

Bug

yarn version

1.22.5

platform

windows

issue

I want install the 32-bit electron version by specifying the parameter --acrh=ia32 under the 64-bit windows system:

$ yarn add electron --arch=ia32 --dev

But it doesn't seem to work。

As a comparison, I can successfully install using Npm:

$ npm install electron --arch=ia32 --dev

Like yarn ignores the arch parameter? Maybe a bug? How to fix it?

luojinghui avatar Aug 31 '20 04:08 luojinghui

When I do the following configuration in .npmrc file:

arch=ia32

then run:

$ yarn add electron --dev

Yarn will merge the configuration of npm and install 32-bit electron. Why do the parameters through the command line(--arch=ia32) not take effect?

luojinghui avatar Aug 31 '20 06:08 luojinghui

same problem +1

RoJoHub avatar May 26 '21 03:05 RoJoHub