Coder Social home page Coder Social logo

Comments (5)

Scout-lander avatar Scout-lander commented on July 30, 2024 1

hi im also having running issues

throw err
^

Error: Could not locate the bindings file. Tried:
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/build/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/build/Debug/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/build/Release/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/out/Debug/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/Debug/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/out/Release/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/Release/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/build/default/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/compiled/10.11.0/linux/arm/pigpio.node
at bindings (/home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/node_modules/bindings/bindings.js:88:9)
at Object. (/home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/pigpio.js:5:31)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/home/pi/cam/Smartphone-Doorlock/doorlock.js:47:12)

from smartphone-doorlock.

lisaong avatar lisaong commented on July 30, 2024

This is an issue with the Blynk library: vshymanskyy/blynk-library-js#26, try updating package.json to use the latest library.

diff --git a/package.json b/package.json
index 5f1367e..1063c50 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
   "author": "",
   "license": "ISC",
   "dependencies": {
-    "blynk-library": "0.0.41",
+    "blynk-library": "0.5.1",
     "onoff": "^1.1.1",
     "pigpio": "^0.4.0"
   }

from smartphone-doorlock.

SIDECHAIN3D avatar SIDECHAIN3D commented on July 30, 2024

Encountered same issue. A simple "sudo npm rebuild" did the trick.

from smartphone-doorlock.

Mr-Black-Dahlia avatar Mr-Black-Dahlia commented on July 30, 2024

hi im also having running issues

throw err
^

Error: Could not locate the bindings file. Tried:
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/build/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/build/Debug/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/build/Release/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/out/Debug/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/Debug/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/out/Release/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/Release/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/build/default/pigpio.node
→ /home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/compiled/10.11.0/linux/arm/pigpio.node
at bindings (/home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/node_modules/bindings/bindings.js:88:9)
at Object. (/home/pi/cam/Smartphone-Doorlock/node_modules/pigpio/pigpio.js:5:31)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/home/pi/cam/Smartphone-Doorlock/doorlock.js:47:12)

Don't follow the suggested guide to install node or npm. :) Start over and just use apt-get. Worked for me!

from smartphone-doorlock.

jgonzales489 avatar jgonzales489 commented on July 30, 2024

How did you bbn I stall node then if I type npm-get it throws locked issues

from smartphone-doorlock.

Related Issues (16)

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.