It's related to user permission to modify the respective file on the OS:
Run the command with administrator permissions e.g. For Windows, start command line with 'Run as administrator' .
It resolved the problem for me.