This error is likely due to an authentication issue with your npm registry. You can try logging in to your npm account on your server using the following command:
npm login
If you don't have an npm account, you can create one by running:
npm adduser
Once you're logged in, try running your npm commands again. If you're still having issues, you can try clearing your npm cache by running:
npm cache clean --force
Then try running your npm commands again.
If none of these solutions work, you may need to check your npm registry configuration in your project's package.json file or your global npmrc file.
Also, make sure that you have the latest version of npm installed on your server. You can update npm by running:
npm install -g npm