error eperm operation not permitted rename package.json 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: npm ERR! syscall rename
THIS tip works :
just delete package-lock.json file and then install package what you want all will works :-)