Skip to content

"TypeError: Cannot read property 'text' of undefined" during build #243

Description

@YuriGal

I've upgraded my clockface project with SDK types (converted to Typescript). Now during build I am getting this error:

> clean-and-smart-pre-atlas@1.0.0 build /Users/ygalanter/Documents/Github Personal/Clean-Smart-Plus/clockfaces/pre-atlas
> fitbit-build

[09:43:05][error][app] TypeError: Cannot read property 'text' of undefined
    Details:
        code: PLUGIN_ERROR
        hook: transform
        id: /Users/ygalanter/Documents/Github Personal/Clean-Smart-Plus/clockfaces/pre-atlas/app/index.ts
        watchFiles: /Users/ygalanter/Documents/Github Personal/Clean-Smart-Plus/clockfaces/pre-atlas/app/index.ts

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! clean-and-smart-pre-atlas@1.0.0 build: `fitbit-build`
npm ERR! Exit status 1

It doesn't point to any line in my code and AFAIK all every element that uses .text property is defined.
clockface_project.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions