Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 769 Bytes

2021-04-25.md

File metadata and controls

13 lines (7 loc) · 769 Bytes

Run SPFx over SSH

How I used a Linux server as my dev env. while still working on my M1 Mac

I love my M1 Mac, it's smooth and super-performant - it does however make things a bit hard to build for SharePoint SPFx mainly due to Node support on Apple silicon.

To setup, I created an Ubuntu VM in Azure which defaulted to SSH keys. From there, I followed this to connect to a remote host - the only part missing was how to reference a key file

Now I just gulp serve and the Browser on my Mac serves that WebPart over SSH from the Linux VM

TAGS