Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Travis test fail becaise of missing bluetooth.h

オープン
#27 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, node.js

調査の方向性

src/linux/DeviceINQ.cc の Linux ビルド失敗から始め、Travis の設定と node-bluetooth 周辺の依存関係の設定を調査してください。Travis または同等の Linux 環境で bluetooth/bluetooth.h が見つからないエラーを再現し、その後、Ubuntu、Raspbian、AppVeyor と同様にインストールと既存のテストが通ることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

I get `

node-bluetooth@1.2.5 install /home/travis/build/frankjoke/ioBroker.radar2/node_modules/node-bluetooth
node-gyp configure build
make: Entering directory /home/travis/build/frankjoke/ioBroker.radar2/node_modules/node-bluetooth/build' CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: No such file or directory #include <bluetooth/bluetooth.h> ^ compilation terminated. make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Error 1 make: Leaving directory /home/travis/build/frankjoke/ioBroker.radar2/node_modules/node-bluetooth/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2`

errors and cannot test my package on Travis (for linuix) but on Raspian and Ubuntu install works.

The error is: /src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h
and I could not find it as well.

On windows tester AppVeyor the installation works and all tests passes.

The effect started when I added your package to mine. If I remove the dependency it's installing fine.

主要言語
C++
スター
205
フォーク
56
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lsongdev/node-bluetooth のほかの issue

lsongdev/node-bluetooth の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。