binding file could not be found
See original GitHub issueIf i start my app including serialport var sp = require('serialport').SerialPort;
i get an error from bindings that the bindings file could not be found. Is there a configuration error? It’s a fresh install.
xxx@ubuntu:~/Arbeitsfläche/node/firstapp$ node app
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Could not load the bindings file. Tried:
-> /home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/build/Debug/serialport.node
-> /home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/build/Release/serialport.node
-> /home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/out/Debug/serialport.node
-> /home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/Debug/serialport.node
-> /home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/out/Release/serialport.node
-> /home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/Release/serialport.node
-> /home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/build/default/serialport.node
-> /home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/compiled/0.6/linux/ia32/serialport.node
at bindings (/home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/node_modules/bindings/bindings.js:82:13)
at Object.<anonymous> (/home/xxx/Arbeitsfläche/node/firstapp/node_modules/serialport/serialport.js:7:44)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object.<anonymous> (/home/xxx/Arbeitsfläche/node/firstapp/app.js:20:10)
at Module._compile (module.js:441:26)
Issue Analytics
- State:
- Created 11 years ago
- Comments:15 (3 by maintainers)
Top Results From Across the Web
Error: Could not locate the bindings file · Issue #1511 - GitHub
This happened due to an incompatible Node version, a simple solution should be to use a different node version with nvm or update...
Read more >Error: Could not locate the bindings file. Tried: #56
In my case it was complaining about the bindings for ursa package. Fixed by simply installing it with npm install ursa . –...
Read more >Error: Could not locate the bindings file - Edge Impulse Forum
Hi,. I am having the same problem that I have seen reported here by others, but the solutions offered haven't worked for me....
Read more >Error: Could not locate the bindings file. Tried - Glitch Support
rbd/pnpm-volume/be1c5275-40c5-4646-a0a7-7c79aa990349/node_modules/.registry.npmjs.org/bindings/1.5.0/node_modules/bindings/bindings.js:135.
Read more >Unable to bind an XREF in AutoCAD Products
XREF is unloaded, orphaned, or is otherwise missing. · XREF is part of a circular reference. · XREF is attached more than once....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can you try opening a terminal to node_modules/serialport and run “node-gyp configure build”. This might be a similar problem to pull request #65 which hasn’t been published to npm yet.
Hey there, thank you. i finally fixed it, it was a problem with setting path of python in visual express 2012.