Error in Initial Build Console - "Unable to load active credential"

Hi! I am building a Pages site locally and when trying to deploy in the Yext platform, I’m seeing the following error:

ERROR: Unable to load active credential from home directory "/opt/buildhome": please initialize credentials using 'yext init': active-credential does not exist

I am init’ed into the account, so not sure why the error says the credential doesn’t exist.

Thanks!

Hi Sonia,

I think the issue is due to a misconfiguration of the ci.json. Can you ensure the ci.json and the package.json have the same commands as found in the locations starter?

Locations Starter

In particular, the ci.json must refer to the build:local command which needs to be specified in the ci.json

Let me know if this work!

Thanks,
Andrew