iot-smart-home-cloud icon indicating copy to clipboard operation
iot-smart-home-cloud copied to clipboard

Firebase deploy fails

Open fabltd opened this issue 4 years ago • 3 comments

Firebase deploy fails with the following error:

Cannot find module ./service-account.json

const homegraph = smarthome({
  jwt: require('./service-account.json')

Documents don't mention the creation of a service-account key. What IAM scope is required for this?

fabltd avatar Jul 08 '19 15:07 fabltd

Thanks for pointing this out, we'll get the README updated to clarify this. The service account is required for use with the Home Graph API, and you can follow these instructions in the meantime to create a key.

devunwired avatar Jul 08 '19 15:07 devunwired

Thanks

I am finding a number of bugs. Shall i add them here or open an issue for each.

fabltd avatar Jul 08 '19 16:07 fabltd

Open individual issues

devunwired avatar Jul 09 '19 20:07 devunwired