Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry installation don’t work #1

Open
choucous opened this issue Nov 20, 2019 · 11 comments
Open

Raspberry installation don’t work #1

choucous opened this issue Nov 20, 2019 · 11 comments

Comments

@choucous
Copy link

Hi everybody,
I’m trying to install the daumUSB2BLE on a Raspberry zero w and a 3B with Stretch distribution. I used different Node.js version (from 8.x, 10.x , and above). Unfortunatly I have many errors about Dependecies, specialy with serial and usb node package.
Is there somebody able to help me and confirm that’s possible to install the DaumUSB2BLE on a Raspberry Pi.
In advance thank you.

@choucous
Copy link
Author

Hi weinzmi,
First thank you for your work about the possibility to connect the daum 8008 trs on a Raspberry.

Let's explain my installation directly from a Stretch img flashing for Raspberry Pi 3 B :
** Reinstall the same Node version 8.11.1**
$sudo apt remove nodered –y
$sudo apt remove node nodejs nodejs-legacy –y
$sudo apt remove npm –y
$sudo apt remove --purge node

$wget https://nodejs.org/dist/ v8.11.1/node-v8.11.1-linux-armv7l.tar.xz
$sudo tar -C /usr/local --strip-components 1 -xJf node-v8.11.1-linux-armv7l.tar.xz
$export PATH=$PATH:/usr/local/bin/node
$export PATH=$PATH:/usr/local/bin/npm

$node –v
8.11.1
$npm –v
5.6.0

Copy your project from Git
$git clone https://github.com/weinzmi/daumUSB2BLE.git

Modify your package.json like your version
"bleno": "0.5.0",
"config-yml": "0.10.3",
"ejs": "2.6.1",
"express": "4.16.4",
"nodemon": "1.14.3",
"q": "1.5.1",
"serialport": "7.1.5",
"socket.io": "2.2.0"

**In daumUSB2BLE directory **
$npm install

Results
npm WARN deprecated [email protected]: One of your dependencies needs to upgrade to fsevents v2: 1) Proper nodejs v10+ support 2) No more fetching binaries from AWS, smaller package size

@serialport/[email protected] install /home/pi/daumUSB2BLE/node_modules/@serialport/bindings
prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=8.11.1 runtime=node arch=arm libc= platform=linux)
make : on entre dans le répertoire « /home/pi/daumUSB2BLE/node_modules/@serialport/bindings/build »
CXX(target) Release/obj.target/bindings/src/serialport.o
CXX(target) Release/obj.target/bindings/src/serialport_unix.o
CXX(target) Release/obj.target/bindings/src/poller.o
CXX(target) Release/obj.target/bindings/src/serialport_linux.o
SOLINK_MODULE(target) Release/obj.target/bindings.node
COPY Release/bindings.node
make : on quitte le répertoire « /home/pi/daumUSB2BLE/node_modules/@serialport/bindings/build »

[email protected] install /home/pi/daumUSB2BLE/node_modules/usb
prebuild-install --verbose || node-gyp rebuild

prebuild-install info begin Prebuild-install version 5.3.3
prebuild-install info looking for cached prebuild @ /home/pi/.npm/_prebuilds/c04abf-usb-v1.6.1-node-v57-linux-arm.tar.gz
prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v57-linux-arm.tar.gz
prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v57-linux-arm.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=8.11.1 runtime=node arch=arm libc= platform=linux)
make : on entre dans le répertoire « /home/pi/daumUSB2BLE/node_modules/usb/build »
CC(target) Release/obj.target/libusb/libusb/libusb/core.o
CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
CC(target) Release/obj.target/libusb/libusb/libusb/io.o
CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
../libusb/libusb/os/linux_udev.c:40:21: fatal error: libudev.h: Aucun fichier ou dossier de ce type
#include <libudev.h>
^
compilation terminated.
libusb.target.mk:132 : la recette pour la cible « Release/obj.target/libusb/libusb/libusb/os/linux_udev.o » a échouée
make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Erreur 1
make : on quitte le répertoire « /home/pi/daumUSB2BLE/node_modules/usb/build »
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.19.66-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/daumUSB2BLE/node_modules/usb
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok

npm list
npm list
/home/pi
└── (empty)

npm list
[email protected] /home/pi/daumUSB2BLE
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ └─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ ├── [email protected] deduped
│ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected] deduped
│ │ └─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ └── [email protected] deduped
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ │ └── [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET DEPENDENCY [email protected]
│ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ └─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ └─┬ UNMET DEPENDENCY [email protected]
│ │ │ │ │ └─┬ UNMET DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ └─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├─┬ UNMET DEPENDENCY [email protected]
│ │ │ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ │ │ ├─┬ UNMET DEPENDENCY [email protected]
│ │ │ │ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ │ │ ├─┬ UNMET DEPENDENCY [email protected]
│ │ │ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ │ │ └─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ └─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ ├─┬ UNMET DEPENDENCY [email protected]
│ │ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ │ └── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ └─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├── UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET DEPENDENCY [email protected]
│ │ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ ├─┬ UNMET OPTIONAL DEPENDENCY [email protected]
│ │ │ │ └── UNMET DEPENDENCY [email protected]
│ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ ├── UNMET DEPENDENCY [email protected]
│ │ │ └── UNMET DEPENDENCY [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └── [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ │ └── [email protected]
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └── [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ │ └── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ ├─┬ [email protected]
│ │ │ │ │ │ └── [email protected] deduped
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ └── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ └── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected] deduped
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├─┬ @serialport/[email protected]
│ │ ├─┬ @serialport/[email protected]
│ │ │ └─┬ [email protected]
│ │ │ └── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ @serialport/[email protected]
│ │ ├── @serialport/[email protected] deduped
│ │ ├── @serialport/[email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected] deduped
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └─┬ [email protected]
│ │ │ ├─┬ [email protected]
│ │ │ │ └─┬ [email protected]
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ └── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ └── [email protected] deduped
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ └── [email protected]
│ ├── @serialport/[email protected]
│ ├── @serialport/[email protected]
│ ├── @serialport/[email protected]
│ ├─┬ @serialport/[email protected]
│ │ └── @serialport/[email protected] deduped
│ ├── @serialport/[email protected]
│ ├── @serialport/[email protected]
│ ├─┬ @serialport/[email protected]
│ │ ├── @serialport/[email protected] deduped
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ └── [email protected] deduped
│ └─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected] deduped
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected] deduped
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ ├── [email protected] deduped
│ └── [email protected]
└─┬ [email protected]
├── [email protected]
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]

npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]
npm ERR! missing: [email protected], required by [email protected]

I hope you can find the problem with my installation.
In advance thank for your answer.

@weinzmi
Copy link
Owner

weinzmi commented Nov 22, 2019

What’s the output when you go to the project directory on your Pi and do „sudo node server.js“?

Usually the errors prompted there are the missing packages.

It’s more like try and error, since I’m not a real developer, but it helped me when I had to install manu‘s release.

@choucous
Copy link
Author

Hi Weinzmi,
I can't give you the result of do „sudo node server.js“.
After some manipulations my Raspberry don't reboot anymore. It seems the issues are hub_ext and usb_port_status. I don't understand why, I have just done the command I sent you before.

I need to reflash an fresh image from Strech distribution. Anothe possibility will be possible to send me your Raspberry image including the daumUSB2BLE ?

@choucous
Copy link
Author

Hi Weinzmi,
The issue could be the :
-> prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v57-linux-arm.tar.gz
because it don't exist from git tessel/node-usb. Only the usb-v1.6.1-node-v57-linux-x64.tar.gz exist.
What do you think about that ?

@choucous
Copy link
Author

Hi Weinzmi,
find the result of do „sudo node server.js“.

$ sudo node server.js
/home/pi/daumUSB2BLE/node_modules/serialport/node_modules/bindings/bindings.js:91
throw err
^

Error: Could not locate the bindings file. Tried:
→ /home/pi/daumUSB2BLE/node_modules/serialport/build/serialport.node
→ /home/pi/daumUSB2BLE/node_modules/serialport/build/Debug/serialport.node
→ /home/pi/daumUSB2BLE/node_modules/serialport/build/Release/serialport.node
→ /home/pi/daumUSB2BLE/node_modules/serialport/out/Debug/serialport.node
→ /home/pi/daumUSB2BLE/node_modules/serialport/Debug/serialport.node
→ /home/pi/daumUSB2BLE/node_modules/serialport/out/Release/serialport.node
→ /home/pi/daumUSB2BLE/node_modules/serialport/Release/serialport.node
→ /home/pi/daumUSB2BLE/node_modules/serialport/build/default/serialport.node
→ /home/pi/daumUSB2BLE/node_modules/serialport/compiled/8.11.1/linux/arm/serialport.node
at bindings (/home/pi/daumUSB2BLE/node_modules/serialport/node_modules/bindings/bindings.js:88:9)
at Object. (/home/pi/daumUSB2BLE/node_modules/serialport/lib/bindings.js:3:35)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/pi/daumUSB2BLE/node_modules/serialport/lib/serialport.js:16:25)

@weinzmi
Copy link
Owner

weinzmi commented Nov 23, 2019

Let’s give it a try!

I’ve used a new serial port parser:

pi@raspberrypi:~ $ npm list
/home/pi/ergoFACE_BLE
├── @serialport/[email protected]

Search how to install the parser and the binding to enable the new parser in the daumUSB.js script.

DAUMs serial interface is significantly different to Kettlers. That was one of the updates in the beta versions.

Two possible solutions:

Lookup for an older version in my releases befor the time out parser

Or

Try to install it 🤓

@choucous
Copy link
Author

Sorry Weinzmi,
I'm not an expert in java script and it will be difficult for me to follow your try.

I think the problem is more in these lignes after because it don't exist an https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v57-linux-arm.tar.gz from git tessel/node-usb :

[email protected] install /home/pi/daumUSB2BLE-0.6.0/node_modules/usb

prebuild-install --verbose || node-gyp rebuild

prebuild-install info begin Prebuild-install version 5.3.3
prebuild-install info looking for cached prebuild @ /home/pi/.npm/_prebuilds/c04abf-usb-v1.6.1-node-v57-linux-arm.tar.gz
prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v57-linux-arm.tar.gz
prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v57-linux-arm.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=8.11.1 runtime=node arch=arm libc= platform=linux)
make : on entre dans le répertoire « /home/pi/daumUSB2BLE-0.6.0/node_modules/usb/build »
CC(target) Release/obj.target/libusb/libusb/libusb/core.o
CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o
CC(target) Release/obj.target/libusb/libusb/libusb/io.o
CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
../libusb/libusb/os/linux_udev.c:40:10: fatal error: libudev.h: Aucun fichier ou dossier de ce type
#include <libudev.h>
^~~~~~~~~~~
compilation terminated.
make: *** [libusb.target.mk:132: Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Error 1
make : on quitte le répertoire « /home/pi/daumUSB2BLE-0.6.0/node_modules/usb/build »
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.19.75-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/daumUSB2BLE-0.6.0/node_modules/usb
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok

@weinzmi
Copy link
Owner

weinzmi commented Nov 24, 2019

did you followed this installation?:
https://serialport.io/docs/guide-installation#raspberry-pi-linux

@choucous
Copy link
Author

No, but I can try it’s in my ability.

And after this installation, Do I have to reinstall daumUSB2BLE again?

@choucous
Copy link
Author

Weinzmi,
About the serial port, I followed the https://serialport.io/docs/guide-installation#raspberry-pi-linux instructions you advise to me.
Always the same bad result :

gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.75-v7+
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "build" "--fallback-to-build" "--module=/home/pi/daumUSB2BLE/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/daumUSB2BLE/node_modules/serialport/build/Release"
gyp ERR! cwd /home/pi/daumUSB2BLE/node_modules/serialport
gyp ERR! node -v v10.15.2
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/bin/node-gyp build --fallback-to-build --module=/home/pi/daumUSB2BLE/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/daumUSB2BLE/node_modules/serialport/build/Release' (1)
node-pre-gyp ERR! stack at ChildProcess. (/home/pi/daumUSB2BLE/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 4.19.75-v7+
node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/daumUSB2BLE/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/daumUSB2BLE/node_modules/serialport
node-pre-gyp ERR! node -v v10.15.2
node-pre-gyp ERR! node-pre-gyp -v v0.6.28
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/bin/node-gyp build --fallback-to-build --module=/home/pi/daumUSB2BLE/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/daumUSB2BLE/node_modules/serialport/build/Release' (1)
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-11-24T19_06_13_319Z-debug.log

@choucous
Copy link
Author

Hi weinzmi,

Have you progressed in your New development ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants