11-15-2023 10:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-15-2023 10:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Can anyone provide details on how I am supposed to begin developing an app or clockface for Versa 2. I have spent a ridiculous amount of time trying to get my project to build for Versa 2 (mira). I always hit the following error:
[10:04:57][error][build] package.json One or more build targets was invalid: mira
[10:04:57][error][build] package.json Error: Project configuration is invalid
We are talking the most basic of apps at this point.
{
"name": "my-first-clock",
"version": "0.1.0",
"private": true,
"license": "UNLICENSED",
"devDependencies": {
"@fitbit/sdk": "~6.1.0",
"@fitbit/sdk-cli": "^1.7.3"
},
"fitbit": {
"appUUID": "9e848a64-eeb4-45a7-b047-e7c8f67a7a9f",
"appType": "clockface",
"appDisplayName": "My First Clock",
"iconFile": "resources/icon.png",
"wipeColor": "#ffffff",
"requestedPermissions": [],
"buildTargets": [
"mira"
],
"i18n": {},
"defaultLanguage": "en-US"
},
"scripts": {
"build": "fitbit-build",
"debug": "fitbit"
}
}

11-15-2023 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


11-15-2023 10:36
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Basically, you're using the wrong sdk for that watch. The current documentation doesn't apply to Versa 2. See here for more info.
Gondwana Software
