Is this supposed to work on macOS?
See original GitHub issueFirst of all, great job on that. Big big kudos to y’all! Maybe it was just not designed to work on macOS, but somewhere on the README.m you do mention that if not working on Windows, it might miss some drivers so I thought i’d try on macOS. I did not troubleshoot much this error, I kinda wanted to run it by you first.
node index.js -f outfile.bin
/Users/adrimac/Documents/GitHub/voc-poc/node_modules/bindings/bindings.js:135
throw err;
^
Error: Could not locate the bindings file. Tried:
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/build/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/build/Debug/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/build/Release/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/out/Debug/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/Debug/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/out/Release/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/Release/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/build/default/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/compiled/15.7.0/darwin/x64/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/addon-build/release/install-root/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/addon-build/debug/install-root/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/addon-build/default/install-root/usb_bindings.node
→ /Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/lib/binding/node-v88-darwin-x64/usb_bindings.node
at bindings (/Users/adrimac/Documents/GitHub/voc-poc/node_modules/bindings/bindings.js:126:9)
at Object.<anonymous> (/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/usb.js:1:57)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (/Users/adrimac/Documents/GitHub/voc-poc/index.js:1:13)
at Module._compile (node:internal/modules/cjs/loader:1108:14) {
tries: [
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/build/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/build/Debug/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/build/Release/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/out/Debug/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/Debug/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/out/Release/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/Release/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/build/default/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/compiled/15.7.0/darwin/x64/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/addon-build/release/install-root/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/addon-build/debug/install-root/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/addon-build/default/install-root/usb_bindings.node',
'/Users/adrimac/Documents/GitHub/voc-poc/node_modules/usb/lib/binding/node-v88-darwin-x64/usb_bindings.node'
]
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
Find out which macOS your Mac is using - Apple Support
Use About This Mac to check the version of Mac operating system installed, and find out whether it's the latest (newest, most recent)...
Read more >macOS Ventura: Everything We Know | MacRumors
macOS Ventura is a significant update that introduces a new multitasking experience, overhauls multiple apps, and adds updated capabilities ...
Read more >How to Check If You Have the Latest macOS Version
You can see if you're running the latest macOS version by clicking the Apple logo in the top-left corner, then selecting "About This...
Read more >Never Used a Mac Before? Here's What You Need to Know
Macs are pretty easy to use, but if you're new to them, there are a few things you should know. Read our beginners'...
Read more >macOS 13 Ventura: These are the Macs that will support the ...
macOS 13 Ventura will bring a new way to work across apps and windows with the Stage Manager feature, which automatically organizes open...
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 FreeTop 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
Top GitHub Comments
@dgtvc dude… thank you so much, you are great!! You solved the problem for every Mac user 😉
@dgtvc Thanks! Alright found my issue It was related to xcode. I recently updated macOS and
xcrun
was not updated properly I guess. Mynpm install
was running fin. But when trying to do anything else withnpm
I’d have some errors like below:Resolution steps:
$ rm -rf node_modules
$ xcode-select --install
$ npm install