Closed RyyanB closed 2 years ago
Running an SFDX command and getting an error means you are having an issue with you setup. This has nothing related to b2c-crm-sync on its own.
Please, please don't deploy to production from your local machine, you should have setup a proper CI/CD and release management process to deploy to production safely...
I am trying to run the step "sfdx auth:web:login -r https://login.salesforce.com" to connect to the production but when it redirects me to login I enter my credentials and try to login it then throws me an error EPERM: operation not permitted, open 'C:\Users\ryyan.sf\sf.json'
I ran this step before when connecting staging to my lower sandbox and it worked. I went to the path that it mentioned in the error and the configurations were still for the lower sandbox. This was automatically generated for the lower sandbox but I did manually changed the configuration to match those of production and I still get the same error.
Expected behavior The expected behavior is that I am logged in to my production. Screenshot
Environment details: