When I do plasmic sync, I get: EACCESS: permission denied

Hi all, I’m trying to get started with codegen on my m1 mac, but when I do plasmic sync -p … it gave this error:
EACCES: permission denied, scandir '/Users/USER/Documents/Library'.
Tried using sudo as well and it gave this error:
EPERM: operation not permitted, scandir '/Users/USER/Library/VoiceTrigger/SAT'.

What I’ve tried:
giving full disk access to terminal, disable System Integrity Protection (csrutil disable)

Are you sure you’re in a react project directory?

Oh right my bad I forgot to initialize the react project first beforehand. Thanks for pointing it out @yang!