10-09-2023 10:15
10-09-2023 10:15
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?
Answered! Go to the Best Answer.
10-09-2023 12:31
10-09-2023 12:31
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.
10-09-2023 12:31
10-09-2023 12:31
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.
10-10-2023 04:28
10-10-2023 04:28
it was in fact, the wrong version of nodes. with the 14th, i started working
10-10-2023 12:05