Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Settings error <text>

ANSWERED

I'm getting the error -->

Settings: Error: text: Is not a valid Component type.

 

But the Settings API says this should be valid.

<Section>
        <text align="left">Current age: </text>
</Section>

 

Can someone explain what I'm missing or doing wrong?

Thanks

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Corrected now.

Either I had the wrong case for text <text> should have been <Text> or that combined with closing and restarting VS Code.  

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

FYI - I'm using Visual Studio Code and the Fitbit CLI to build and install, the error occurs during the install.  I've already created a clock face and was able to build and install this without a problem so I don't think it's the setup.  The install is to the Fitbit OS simulator.

Best Answer
0 Votes

Corrected now.

Either I had the wrong case for text <text> should have been <Text> or that combined with closing and restarting VS Code.  

Best Answer
0 Votes