I'm getting the following error on a fresh install:
Could you try to remove the node_modules and try the npm install again?
I've actually removed the whole thing and tried reinstalling it from scratch. Thanks for your help, however, I'll check in if I get a similar message again in the future.
I was also getting the same error a few days ago and I asked on Apple Customer Support then my problem get resolved