An Interest In:
Web News this Week
- March 26, 2024
- March 25, 2024
- March 24, 2024
- March 23, 2024
- March 22, 2024
- March 21, 2024
- March 20, 2024
How can I run natively 'Big Commerce Stencil CLI' on Apple Silicon M1 Chip
I am a front-end engineer who mostly works on a Bigcommerce platform. Bigcommerce uses a handlebar with the 'stencil command line interface' and it requires 'node version manager' (nvm).
I switched my Intel Macbook Pro with M1 Chip Macbook Pro then I couldn't realize this migration will be a little bit ticky.
I installed homebrew then node and nvm packages then I followed the steps on bigcommerce developer website.
However, almost every project gives different errors but all of them are related to the 'node' version. I've gotten few-hour research on Google but these were not about BigCommerce 'stencil-cli',
Jump to 'TL;DR'
Here is the perfect version of the NVM for your delicious Stencil Templates.
# For ARM based macs // for basharch -x86_64 /bin/zsh# For ARM based macs // for Fish Shellarch -x86_64 /usr/local/bin/fishbrew install nodebrew install nvm# which is LTS for v12nvm install 12.13.0nvm alias default 12.13.0npm install -g @bigcommerce/stencil-cli
Then start your project with
stencil start -o
Please check out our website to get more information about BigCommerce Development and Marketing.
Thanks for reading, Happy hacking
Original Link: https://dev.to/caglaroptimum7/how-can-i-run-natively-big-commerce-stencil-cli-on-apple-silicon-m1-chip-3m1h
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To