GoogleCloudPlatform / node-red-contrib-google-cloud

Node-RED nodes for Google Cloud Platform
Apache License 2.0
90 stars 57 forks source link

Subflow + GCP nodes #103

Open paack-andreidraghia opened 2 years ago

paack-andreidraghia commented 2 years ago

When trying to use a node (Firebase in my concrete case) from inside a sub-flow, it complains with the following issue:

msg : error "TypeError: Cannot read property 'account' of undefined"

Node version: 2.0.5 Environment: Docker on local machine Credentials provided via the configuration node.

I believe it cannot access the service account credentials when inside a sub-flow and sees the "account" property of the credentials as undefined. Just copy-pasting the nodes outside of the flow work perfectly.