Coder Social home page Coder Social logo

node-red-contrib-fprint's People

Contributors

ephraim avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

erfan-bagus

node-red-contrib-fprint's Issues

Usage guide (connect to FPS device)

Hello,

Are there any guide to initialise the device and connect to it?

I tried import the sample flow but it doesn't connect to the FPS device.

Please advice, thanks.

Regards,
Les

Failed to Instal in Node Red for Raspberry

Hi, i wanted to install the nodes but it doen't work.

`2021-07-10T15:46:04.624Z Install : node-red-contrib-fprint 0.0.4

2021-07-10T15:46:04.713Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2021-07-10T15:46:11.656Z [out]
2021-07-10T15:46:11.656Z [out] > [email protected] install /home/pi/.node-red/node_modules/node-fprint
2021-07-10T15:46:11.656Z [out] > node-gyp rebuild
2021-07-10T15:46:11.656Z [out]
2021-07-10T15:46:13.229Z [out] make: Entering directory '/home/pi/.node-red/node_modules/node-fprint/build'
2021-07-10T15:46:13.232Z [out] CXX(target) Release/obj.target/fingerprint/src/enroll.o
2021-07-10T15:46:15.346Z [out] CXX(target) Release/obj.target/fingerprint/src/verify.o
2021-07-10T15:46:16.831Z [err] ../src/verify.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE verifyStart(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-07-10T15:46:16.831Z [err] ../src/verify.cpp:160:46: error: no matching function for call to ‘v8::Value::ToString()’
2021-07-10T15:46:16.831Z [err] s = *String::Utf8Value(info[1]->ToString());
2021-07-10T15:46:16.831Z [err] ^
2021-07-10T15:46:16.831Z [err] In file included from /home/pi/.cache/node-gyp/14.17.3/include/node/node.h:67,
2021-07-10T15:46:16.831Z [err] from ../../nan/nan.h:56,
2021-07-10T15:46:16.831Z [err] from ../src/fingerprint.h:1,
2021-07-10T15:46:16.831Z [err] from ../src/verify.cpp:1:
2021-07-10T15:46:16.831Z [err] /home/pi/.cache/node-gyp/14.17.3/include/node/v8.h:2810:44: note: candidate: ‘v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const’
2021-07-10T15:46:16.831Z [err] V8_WARN_UNUSED_RESULT MaybeLocal ToString(
2021-07-10T15:46:16.831Z [err] ^~~~~~~~
2021-07-10T15:46:16.831Z [err] /home/pi/.cache/node-gyp/14.17.3/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
2021-07-10T15:46:17.040Z [err] make: *** [fingerprint.target.mk:116: Release/obj.target/fingerprint/src/verify.o] Error 1
2021-07-10T15:46:17.040Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/node-fprint/build'
2021-07-10T15:46:17.043Z [err] gyp
2021-07-10T15:46:17.043Z [err]
2021-07-10T15:46:17.043Z [err] ERR! build error
2021-07-10T15:46:17.045Z [err] gyp
2021-07-10T15:46:17.045Z [err] ERR! stack Error: make failed with exit code: 2
2021-07-10T15:46:17.045Z [err] gyp ERR!
2021-07-10T15:46:17.045Z [err] stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2021-07-10T15:46:17.045Z [err] gyp ERR!
2021-07-10T15:46:17.045Z [err] stack at ChildProcess.emit (events.js:375:28)
2021-07-10T15:46:17.045Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
2021-07-10T15:46:17.046Z [err] gyp
2021-07-10T15:46:17.046Z [err] ERR! System Linux 5.10.17-v7l+
2021-07-10T15:46:17.046Z [err] gyp
2021-07-10T15:46:17.046Z [err] ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2021-07-10T15:46:17.046Z [err] gyp
2021-07-10T15:46:17.046Z [err] ERR! cwd /home/pi/.node-red/node_modules/node-fprint
2021-07-10T15:46:17.046Z [err] gyp ERR! node -v v14.17.3
2021-07-10T15:46:17.047Z [err] gyp ERR! node-gyp -v v5.1.0
2021-07-10T15:46:17.047Z [err] gyp
2021-07-10T15:46:17.047Z [err] ERR! not ok
2021-07-10T15:46:17.145Z [err] npm
2021-07-10T15:46:17.145Z [err] ERR! code ELIFECYCLE
2021-07-10T15:46:17.145Z [err] npm ERR!
2021-07-10T15:46:17.145Z [err] errno 1
2021-07-10T15:46:17.158Z [err] npm
2021-07-10T15:46:17.158Z [err] ERR! [email protected] install: node-gyp rebuild
2021-07-10T15:46:17.158Z [err] npm ERR! Exit status 1
2021-07-10T15:46:17.159Z [err] npm ERR!
2021-07-10T15:46:17.159Z [err] npm
2021-07-10T15:46:17.159Z [err] ERR! Failed at the [email protected] install script.
2021-07-10T15:46:17.159Z [err] npm ERR!
2021-07-10T15:46:17.159Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2021-07-10T15:46:17.178Z [err] `

info for only verify

Hi,
I installed my usb microsoft reader (usb) U4000 / 4000b / 4500 fingerprint correctly installed and ready for use/running with fprint_demo.
I have problems with node-red and your example:
enroll-verify inject: enroll-started, enroll-stage-passed for 5 times(stage5/5), enroll-completed with fingerprint: 789c .... and after verify-started, verify-succeeded and after fingerprint: 789c8d9 ..... all right. it works very well.
if I want to start only a check how should I do?
I used google translator, sorry
thank you

npm ERR! Failed at the [email protected] install script.

Hello,

I'm stuck with this error below when installing node-red-contrib-fprint. libfprint-dev has been installed with command sudo apt install libfprint-dev.

Need help! thank you.

syspc@001:~$ npm install node-red-contrib-fprint -g

> [email protected] install /home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/node-red-contrib-fprint/node_modules/node-fprint
> node-gyp rebuild

make: Entering directory '/home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/node-red-contrib-fprint/node_modules/node-fprint/build'
  CXX(target) Release/obj.target/fingerprint/src/enroll.o
  CXX(target) Release/obj.target/fingerprint/src/verify.o
../src/verify.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE verifyStart(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/verify.cpp:160:46: error: no matching function for call to ‘v8::Value::ToString()’
     s = *String::Utf8Value(info[1]->ToString());
                                              ^
In file included from /home/syspc/.cache/node-gyp/13.6.0/include/node/node.h:63:0,
                 from ../../nan/nan.h:54,
                 from ../src/fingerprint.h:1,
                 from ../src/verify.cpp:1:
/home/syspc/.cache/node-gyp/13.6.0/include/node/v8.h:2750:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/home/syspc/.cache/node-gyp/13.6.0/include/node/v8.h:2750:44: note:   candidate expects 1 argument, 0 provided
fingerprint.target.mk:118: recipe for target 'Release/obj.target/fingerprint/src/verify.o' failed
make: *** [Release/obj.target/fingerprint/src/verify.o] Error 1
make: Leaving directory '/home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/node-red-contrib-fprint/node_modules/node-fprint/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:321:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.0.0-32-generic
gyp ERR! command "/home/syspc/.nvm/versions/node/v13.6.0/bin/node" "/home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/node-red-contrib-fprint/node_modules/node-fprint
gyp ERR! node -v v13.6.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
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/syspc/.npm/_logs/2020-01-23T07_33_23_141Z-debug.log

Error on install

Hi,

I get the following error when I try to run the install command (npm install node-red-contrib-fprint). What I did wrong? Please advice, thank you. Regards, Les:

pi@raspberrypi:~/.node-red $ npm install node-red-contrib-fprint

> [email protected] install /home/pi/.node-red/node_modules/node-fprint
> node-gyp rebuild

Package libfprint was not found in the pkg-config search path.
Perhaps you should add the directory containing `libfprint.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libfprint' found
gyp: Call to 'pkg-config --libs libfprint' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.14.50-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.node-red/node_modules/node-fprint
gyp ERR! node -v v8.11.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
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-gyp rebuild`
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/pi/.npm/_logs/2018-08-22T07_06_08_919Z-debug.log

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.