Need Help with Webframe Setup


#1

Hi,
Trying to follow the Web Frame setup, using windows 10 and having issues. When I try to do the CLI install, npm throws a lot of errors starting with a gyp error. I’ve copied the errors below. Please provide guidance.

npm install balena-cli -g

prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=11.10.0 runtime=node arch=x64 platform=win32)

C:\Users\Jim\AppData\Roaming\npm\node_modules\balena-cli\node_modules\drivelist>if not defined npm_config_node_gyp (node “C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\Jim\AppData\Local\Programs\Python\Python37-32\python.EXE -c import sys; print “%s.%s.%s” % sys.version_info[:3];
gyp ERR! stack File “”, line 1
gyp ERR! stack import sys; print “%s.%s.%s” % sys.version_info[:3];
gyp ERR! stack ^


#2

Hi @jdelaney1

As you’re having trouble installing the CLI from NPM, you could try the standalone versions from here: https://github.com/balena-io/balena-cli/releases/tag/v9.12.0

Installation instructions are here: https://github.com/balena-io/balena-cli#standalone-install

I hope this helps!