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

Trouble getting started

ANSWERED

I tried to follow the Getting Started Guide

But I can't get the npx starting to create a new project.

All I get are the following errors:

Creating a new Fitbit SDK app in [my Path here].

Installing packages. This might take a couple of minutes.
Installing @Fitbit/sdk and @Fitbit/sdk-cli...

npm ERR! code 1
npm ERR! path C:\Users\Ursus\Documents\GitHub\Fitbit-Isac\isac\node_modules\keytar
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild
npm ERR! gyp ERR! find Python
npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
npm ERR! gyp ERR! find Python checking if "python3" can be used
npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
npm ERR! gyp ERR! find Python checking if "python" can be used
npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error

 

What am I doing wrong?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

The easiest thing to try would be to use a version of node that's known to work. 14 or 16 seem okay, but more recent might be a problem.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

The easiest thing to try would be to use a version of node that's known to work. 14 or 16 seem okay, but more recent might be a problem.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

it was in fact, the wrong version of nodes. with the 14th, i started working

Best Answer

@UrsusVanDraco 

Thanks for confirming!

Peter McLennan
Gondwana Software
Best Answer
0 Votes