Code Monkey home page Code Monkey logo

Comments (8)

evanshortiss avatar evanshortiss commented on June 12, 2024 1

TLDR; obd-parser-serial-connection module needs to be updated. I currently don't have access to hardware for testing, but am happy to accept a PR to obd-parser-serial-connection and this module to fix it.

from obd-parser-cli.

fklement avatar fklement commented on June 12, 2024 1

@evanshortiss The installation via the dev branch does not work for me either.

> npm install evanshortiss/obd-parser-cli#dev -g               
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /Users/fklement/.nvm/versions/node/v10.15.3/lib/node_modules/obd-parser-cli/bin/index.js
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/fklement/.nvm/versions/node/v10.15.3/lib/node_modules/obd-parser-cli/bin/index.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/fklement/.npm/_logs/2020-07-11T13_30_37_073Z-debug.log   

from obd-parser-cli.

evanshortiss avatar evanshortiss commented on June 12, 2024 1

@fklement please try npm i -g [email protected]. This installed for me with Node.js v14. I have not tested on with an real connection though as I currently don't have access to one.

from obd-parser-cli.

fklement avatar fklement commented on June 12, 2024 1

@evanshortiss Nice that worked out fine!
I'm going to test it through a real connection and let you know.

from obd-parser-cli.

mariohmol avatar mariohmol commented on June 12, 2024

I could make it install on node 9 but i get this:

🚔 OBD CLI 🚘

Fatal error in ../deps/v8/src/api.cc, line 1249

Check failed: !value_obj->IsJSReceiver() || value_obj->IsTemplateInfo().

Illegal instruction: 4

from obd-parser-cli.

evanshortiss avatar evanshortiss commented on June 12, 2024

@mariohmol I was using this with Node.js 4 or 6 I think, but haven't tested it in a while. It appears to be an issue in compilation of the serialport module that this one depends on.

I wonder if the serialport dep here needs to be updated. My guess is it's way out of date since it's 2.x

from obd-parser-cli.

evanshortiss avatar evanshortiss commented on June 12, 2024

@mariohmol try the dev branch via npm i -g evanshortiss/obd-parser-cli - it might work since I updated the serialport version, but as I said, I can't test it right now.

EDIT: the dev branch will not work since it contains uncompiled assets. Please see my new command below.

from obd-parser-cli.

evanshortiss avatar evanshortiss commented on June 12, 2024

@fklement I appreciate it! The main issue is that the serialport module API/interface could have changes, but I hope not.

from obd-parser-cli.

Related Issues (1)

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.