marcopiraccini / electron-usb

node-usb fork to be used with electron. It's a fork from node-usb
MIT License
36 stars 9 forks source link

Throws error during load on windows 10 #4

Open minahilnichols opened 7 years ago

minahilnichols commented 7 years ago

electron .

App threw an error during load Error: A dynamic link library (DLL) initialization routine failed. \?\C:\Users\minah\Documents\electron\my-app\node_modules\usb\src\binding\usb_bindings.node at Error (native) at process.module.(anonymous function) as dlopen at Object.Module._extensions..node (module.js:583:18) at Object.module.(anonymous function) as .node at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object. (C:\Users\minah\Documents\electron\my-app\node_modules\usb\usb.js:5:38)

npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start" npm ERR! node v4.6.0 npm ERR! npm v3.10.8 npm ERR! code ELIFECYCLE npm ERR! my-app@0.0.1 start: electron . npm ERR! Exit status 3221225477 npm ERR! npm ERR! Failed at the my-app@0.0.1 start script 'electron .'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the my-app package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron . npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs my-app npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls my-app npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\minah\Documents\electron\my-app\npm-debug.log