Skip to content

TypeError: Cannot read properties of undefined (reading 'type') #20

@yjeanrenaud

Description

@yjeanrenaud
/home/user/tuya-cloud-to-influxdb/lib/common.js:31
    if (def.property.type === 'value') {
                     ^

TypeError: Cannot read properties of undefined (reading 'type')
    at /home/user/tuya-cloud-to-influxdb/lib/common.js:31:22
    at Array.forEach (<anonymous>)
    at Object.getDeviceMeasurement (/home/user/tuya-cloud-to-influxdb/lib/common.js:26:24)
    at /home/user/tuya-cloud-to-influxdb/cli.js:75:34
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions