Skip to content

npm -g install tessel not working on Windows anymore #196

Description

@Sygyzmundovych

Hi. It worked on September 8 (the last time I ran the workshop using Tessel1 boards), but now all Windows users are getting errors like:

> usb@1.0.6 install C:\Users\i047306\AppData\Roaming\npm\node_modules\tessel\node_modules\usb
> node-pre-gyp install --fallback-to-build

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (C:\Users\i047306\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack     at C:\Users\i047306\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:95:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\i047306\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build
" "--module=C:\\Users\\i047306\\AppData\\Roaming\\npm\\node_modules\\tessel\\node_modules\\usb\\src\\binding\\usb_bindings.node" "--module_name=usb_bindings" "--module_path=C:\\Users\\i047306\
\AppData\\Roaming\\npm\\node_modules\\tessel\\node_modules\\usb\\src\\binding"
gyp ERR! cwd C:\Users\i047306\AppData\Roaming\npm\node_modules\tessel\node_modules\usb
gyp ERR! node -v v0.12.16
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\i047306\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallb
ack-to-build --module=C:\Users\i047306\AppData\Roaming\npm\node_modules\tessel\node_modules\usb\src\binding\usb_bindings.node --module_name=usb_bindings --module_path=C:\Users\i047306\AppData\
Roaming\npm\node_modules\tessel\node_modules\usb\src\binding' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\i047306\AppData\Roaming\npm\node_modules\tessel\node_modules\usb\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
node-pre-gyp ERR! stack     at maybeClose (child_process.js:1019:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1091:5)
node-pre-gyp ERR! System Windows_NT 10.0.10586
node-pre-gyp ERR! command "node" "C:\\Users\\i047306\\AppData\\Roaming\\npm\\node_modules\\tessel\\node_modules\\usb\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-bu
ild"
node-pre-gyp ERR! cwd C:\Users\i047306\AppData\Roaming\npm\node_modules\tessel\node_modules\usb
node-pre-gyp ERR! node -v v0.12.16
node-pre-gyp ERR! node-pre-gyp -v v0.6.4
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\i047306\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\
i047306\AppData\Roaming\npm\node_modules\tessel\node_modules\usb\src\binding\usb_bindings.node --module_name=usb_bindings --module_path=C:\Users\i047306\AppData\Roaming\npm\node_modules\tessel
\node_modules\usb\src\binding' (1)

Could you please check that?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions