I was getting this error due to the c:/users/my-account/nx wasn’t writable. It was only on my node and not my team mates. Fix for me was to try and open the nx directory and it will ask you if you want to take ownership. Choose yes and then it’s good to go.