07-28-2021 11:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-28-2021 11:32
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
npx fitbit-build works fine, but
npx fitbit-install or npx fitbit-install@latest doesn't
What was missed in the setup and why does it give a
npm ERR! 404 Not Found - GET https://registry.npmjs.org/fitbit-install - Not found
Trying to test version SDK 4.2 pending fix to SDK 4.3
Author | ch, passion for improvement.
07-29-2021 03:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-29-2021 03:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It's ok, there is no fitbit-install command.
Use this command to launch the interactive shell:
npx fitbit
Then you can build and install using:
bi
If you checkout the CLI guide, it has the full instructions for working with the CLI. https://dev.fitbit.com/build/guides/command-line-interface/

07-29-2021 22:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-29-2021 22:20
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi Jon,
Something is not working, started from scratch again, to record the steps.
- Installed Node.js on Windows, using node-v14.17.3-x86.msi
- opened Node.JS command prompt
- created a directory Node
then followed video in the documentation
- copy in project folders [app,resources etc. from a Studio export]
- run npm add --dev @Fitbit/sdk [seems ok]
- run npm add --dev @Fitbit/sdk-cli [load of errors, about python & keytar@6.0.1 install ]
- run npx fitbit-build - [ ok, an app.fba file was created]
- run npx fitbit-install [complains fitbit-install not found]
tried npx fitbit [doesn't work, says can't find cli.js]
what step is missing or wrong?
Author | ch, passion for improvement.

