stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

npm install is super slow after update

Open kalwiggins opened this issue 3 years ago • 1 comments

after updating to the most recent stencil cli last week, it takes forever to run npm install (15min+), and refresh in local can take a couple of minutes too.

Am on mac M1, and have tried with node 12.1.0 and 12.13.0, npm 6.12.0.

kalwiggins avatar Sep 20 '21 07:09 kalwiggins

node binaries don't exist on for node versions < 15 on ARM... do this prior to your install...

arch -x86_64 zsh
# if you're using nvm...
nvm install 12.22.6
npm install -g @bigcommerce/stencil-cli
# switch back to arm...
arch -arm64 zsh

steve-ross avatar Sep 22 '21 14:09 steve-ross