Have anyone come across Error: EPERM : Operation not permitted code example
Example 1: ERR! Error: EPERM: operation not permitted, rename
npm cache clean --force
npm install -g npm@latest --force
Try to install your component once again.
Example 2: EPERM: operation not permitted, rename
npm install -g npm@latest --force