lsongdev / lsongdev/node-bluetooth
node-bluetooth causing build error
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- C++
- Star
- 205
- Fork
- 56
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**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?
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện việc cài đặt node-bluetooth@1.2.6 trong môi trường Windows 10, Node v12.9.1, Python 2.7, Visual Studio 2019 và node-gyp v5.0.3 được báo cáo. Kiểm tra đầu ra của node-gyp configure/build từ thư mục node_modules\node-bluetooth và xác định điều gì ngăn build hoàn tất; được coi là hoàn thành khi module được cài đặt mà không gặp lỗi build đã báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cpp, nodejs
- Lĩnh vực
- build-system, embedded-iot, operating-systems
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100