tessel / t2-cli

Tessel 2 Command Line Interface
MIT License
114 stars 56 forks source link

Pre-compiled module is missing: @serialport/bindings@9.0.0. Warning when running 't2 run' on Mac #1743

Open ryee98 opened 4 years ago

ryee98 commented 4 years ago

WARN Pre-compiled module is missing: @serialport/bindings@9.0.0. WARN Please file an issue at https://github.com/tessel/t2-cli/issues/new with this warning. WARN WARN This warning might be caused by one of the following: WARN WARN 1. A pre-compiled binary has not yet been built for this module. WARN 2. The binary didn't compile correctly for the platform that you're developing on. WARN Binaries that are Linux-only or even OpenWRT-specific may cause this issue. WARN Try to npm install --force the affected module, then rerun your deployment command. WARN 3. The binary may be platform specific and impossible to compile for OpenWRT. WARN Pre-compiled module is missing: @serialport/bindings@8.0.8. WARN Please file an issue at https://github.com/tessel/t2-cli/issues/new with this warning. WARN WARN This warning might be caused by one of the following: WARN WARN 1. A pre-compiled binary has not yet been built for this module. WARN 2. The binary didn't compile correctly for the platform that you're developing on. WARN Binaries that are Linux-only or even OpenWRT-specific may cause this issue. WARN Try to npm install --force the affected module, then rerun your deployment command. WARN 3. The binary may be platform specific and impossible to compile for OpenWRT.

This is happeining on a Mac with macOS Catalina 10.15.4

pddivine commented 4 years ago

I'm getting the same thing

INFO Looking for your Tessel...
INFO Connected to Tessel-02A3411256B3.
INFO Building project.
WARN Pre-compiled module is missing: @serialport/bindings@8.0.8.
WARN Please file an issue at https://github.com/tessel/t2-cli/issues/new with this warning.
WARN 
WARN This warning might be caused by one of the following:
WARN 
WARN 1. A pre-compiled binary has not yet been built for this module.
WARN 2. The binary didn't compile correctly for the platform that you're developing on.
WARN    Binaries that are Linux-only or even OpenWRT-specific may cause this issue.
WARN    Try to npm install --force the affected module, then rerun your deployment command.
WARN 3. The binary may be platform specific and impossible to compile for OpenWRT.
INFO Writing project to RAM on Tessel-02A3411256B3 (2.56 kB)...

macOS Catalina Version 10.15.5

alex-engelmann commented 4 years ago

I get this error all the time in t2-cli on Windows and ignore it. My understanding is it’s looking for a Linux module and disappointed to not find it on our machines. It’s harmless though, just a warning.

The developers probably only run Linux haha