Giter VIP home page Giter VIP logo

Comments (6)

EricSmekens avatar EricSmekens commented on June 2, 2024 3

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.

thinhbk avatar thinhbk commented on June 2, 2024 1

Solved by install VS 2013 Community (as Window SDK 8+ version does not include MSBuild tools). tks.

from node-bluetooth-obd.

EricSmekens avatar EricSmekens commented on June 2, 2024

@sundar2323 Do you still have this problem?

from node-bluetooth-obd.

thinhbk avatar thinhbk commented on June 2, 2024

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.

EricSmekens avatar EricSmekens commented on June 2, 2024

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.

fundasappteam avatar fundasappteam commented on June 2, 2024

So I am assuming this does not work on a pi?

from node-bluetooth-obd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.