Comments (6)
This seems to be related with bluetooth-serial-port module. I will test this in +-12 hours when I have time, and if that is the case, I will forward the isse to that module and update mine as soon that one is fixed.
@sundar2323 Which version of node are you using? 0.11 or 0.12?
Edit:
It seems to build for me on windows 7 x64 - Node 0.12.
Do you have installed the pre-req?
Pre-requests on Linux
Needs Bluetooth development packages to build
apt-get install build-essential libbluetooth-dev
from node-bluetooth-obd.
Solved by install VS 2013 Community (as Window SDK 8+ version does not include MSBuild tools). tks.
from node-bluetooth-obd.
@sundar2323 Do you still have this problem?
from node-bluetooth-obd.
Hi @EricSmekens, I get this error when trying to install the package.
OS: 8.1 Enterprise x64, Nodejs: v6.9.1, npm: 3.8.9.
Log:
$ npm install bluetooth-obd --save
[email protected] install E:\Projects\spikes\obd2\node_modules\bluetooth-serial-port
node-gyp configure build
ThinhPL@301THINHPL-LT E:\Projects\spikes\obd2\node_modules\bluetooth-serial-port
$ if not defined npm_config_node_gyp (node "C:\Users\ThinhPL\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" configure build ) else (node "" configure build )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not fo und. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solu tion". [E:\Projects\spikes\obd2\node_modules\bluetooth-serial-port\build\BluetoothSerialPort.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not fo und. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solu tion". [E:\Projects\spikes\obd2\node_modules\bluetooth-serial-port\build\BluetoothSerialPortServer.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\ThinhPL\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\nodejs\node.exe" "C:\Users\ThinhPL\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "build"
gyp ERR! cwd E:\Projects\spikes\obd2\node_modules\bluetooth-serial-port
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\nodejs\node.exe" "C:\Users\ThinhPL\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "bluetooth-obd" "--save"
npm ERR! node v6.9.1
npm ERR! npm v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp configure build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bluetooth-serial-port package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bluetooth-serial-port
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bluetooth-serial-port
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! E:\Projects\spikes\obd2\npm-debug.log
Can you have a look?
from node-bluetooth-obd.
This is due to requirements of https://github.com/eelcocramer/node-bluetooth-serial-port and/or it dependancies.
I think you need install The Windows SDK version 8.1 and/or visual studio for MSBuild.
from node-bluetooth-obd.
So I am assuming this does not work on a pi?
from node-bluetooth-obd.
Related Issues (20)
- Get Error: Error finding serialport: undefined HOT 12
- Returned data from OBD split up into chunks HOT 7
- Cordova / Ionic HOT 1
- Data contains nothing HOT 2
- VIN HOT 5
- Node Red HOT 8
- WiFi HOT 6
- Accident Detection HOT 1
- Timing HOT 1
- Parameters Supported By This Library HOT 1
- install issues HOT 1
- Messages failing after disconnect HOT 3
- does it works on window? HOT 2
- Connection to VEEPEAK BLE+
- cant install HOT 3
- Problem Installing for Android use
- does it control the signals? HOT 4
- Commented ATZ command returns no data HOT 10
- Problem Connecting on Raspberry PI Rasbian HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-bluetooth-obd.