Closed IDispose closed 5 years ago
@IDispose
the issue is not related to nodemcu-tool itself.... its a problem with one of the dependencies node-serialport which is required to access the serial hardware by using native/os dependent code.
normally the package will use prebuild binaries to provide the additional functionality (hardware access) to node.js - in case the binaries are not available it tries to build them on the current system by invoking node-gyp
which requires python....
i will take a look on it why the prebuild binaries are not used...
did you try do install it without the -g
flag ?
best regards, Andi
current solution: use Node.js V10 LTS
V11 wont work (i've to check if its fixed in node-serialport 7.0.x)
@AndiDittrich Thanks for the clarification on use of Python.
Yes, I did try without -g flag as well with same results. I'll roll back node's to V10 LTS and try.
node serial-port docs says code does not compile with Python3. That could be the issue. Will report after testing.
@AndiDittrich
Uninstalled Node 11.0.0 and installed 10.15.0 LTS. Was able to install nodemcu-tool via npm no errors. and it works.
THANK YOU!
On Windows 10 Node version 11.0.0 npm version 6.4.1
Trying to install via npm install nodemcu-tool -g throws the following error
If this is a nodejs program why does it need Python?
So just to humor the install, tried via Anaconda prompt and got the following
Tried logged in as an administrator. No luck. Tied on a Raspberry Pi. Same errors.
Help please