lsongdev / lsongdev/node-bluetooth
node-bluetooth causing build error
Personne n'a encore pris cette issue.
- Langage dominant
- C++
- Étoiles
- 205
- Forks
- 56
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**Environments :**
- **_Windows 10_** version 1903
- Visual Studio Enterprise **_2019_**
- Python **_2.7_**
- node **_v12.9.1_**
- node-gyp **_v5.0.3_**
**The problem**
I was trying to use [ESCPOS_2.5.2](https://github.com/song940/node-escpos) when node-gyp start building the ( node-bluetooth ) module, warnings and errors start to pop on the console till
>gyp ERR! build error
gyp ERR! stack Error: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\xxxx\AppData\Roaming\npm\node_modules\node-gyp\lib\build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:209:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\xxxx\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "build"
gyp ERR! cwd D:\_Node_field\pos_printer\node_modules\node-bluetooth
gyp ERR! node -v v12.9.1
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm WARN pos_printer@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 (node_modules\node-bluetooth):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.6 install: `node-gyp configure build`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status
is something with the environment causing the problem?
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par reproduire l’installation de node-bluetooth@1.2.6 dans l’environnement signalé avec Windows 10, Node v12.9.1, Python 2.7, Visual Studio 2019 et node-gyp v5.0.3. Examinez la sortie de node-gyp configure/build depuis le répertoire node_modules\node-bluetooth et déterminez ce qui empêche la compilation de se terminer ; c’est terminé lorsque le module s’installe sans l’erreur de compilation signalée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp, nodejs
- Domaine
- build-system, embedded-iot, operating-systems
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100