Code Monkey home page Code Monkey logo

node-red-addons's Introduction

node-red-addons's People

Contributors

d21d3q avatar rajeshsola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-red-addons's Issues

Cant view can bus messages in hex properly.

My message payload is in node red is "401962256#��������". candump can0 works perfect. Im not sure how to convert this to normal canbus hex data like "0C001000#FF FF FF FF FF FF FF FF". Can you help somehow parse properly in hex?

Problem with install

Hi,

I am having problems with installing this node, and really wish to use it. Can you please help?

Here is the messages that are returned when issuing the install command:

`npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EAI_AGAIN: request to https://registry.npmjs.org/node-red-contrib-usb failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.

[email protected] install /home/oem/.node-red/projects/SMAC/node_modules/usb
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(undefined): https://github.com/tessel/node-usb/releases/download/1.3.1/usb_bindings-v1.3.1-node-v57-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/oem/.node-red/projects/SMAC/node_modules/usb/build'
gyp ERR! System Linux 4.10.0-38-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/oem/.node-red/projects/SMAC/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/home/oem/.node-red/projects/SMAC/node_modules/usb/src/binding"
gyp ERR! cwd /home/oem/.node-red/projects/SMAC/node_modules/usb
gyp ERR! node -v v8.11.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/oem/.node-red/projects/SMAC/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/home/oem/.node-red/projects/SMAC/node_modules/usb/src/binding' (1)
node-pre-gyp ERR! stack at ChildProcess. (/home/oem/.node-red/projects/SMAC/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Linux 4.10.0-38-generic
node-pre-gyp ERR! command "/usr/local/bin/node" "/home/oem/.node-red/projects/SMAC/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/oem/.node-red/projects/SMAC/node_modules/usb
node-pre-gyp ERR! node -v v8.11.2
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/oem/.node-red/projects/SMAC/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/home/oem/.node-red/projects/SMAC/node_modules/usb/src/binding' (1)
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/oem/.npm/_logs/2018-06-08T07_33_07_341Z-debug.log
`

Please update the package

Hi!, after updating to the latest node-red version (0.20) the package no longer works. I successfully installed the forked version from @d21d3q but even that one could do some maintenance.

Thanks in advance for your attention, and for all the previous hard work!

Pedro.

Project requires extra library

Greetings. I'm on XUbuntu 15.10, and your -usb library failed to load. After investigation, it seems to make it work, you need the following

sudo apt-get install libudev-dev

And then it works. Figured I'd pass the help along.

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.