【发布时间】:2016-11-23 04:34:31
【问题描述】:
我尝试将electron-usb 库包含到我的电子项目中。
当我在我的index.html 文件中使用require('electron-usb') 执行npm start 时,控制台中出现错误:
Uncaught Error: The specified procedure could not be found.
\\?\C:\Users\Me\Documents\GitHub\electron-quick-start-master\electron-quick-start-master\node_modules\electron-usb\build\Release\electron-v0.36-win32-x64\usb_bindings.node
此错误发生在文件 ELECTRON_ASAR.js 中 Click here to see it
我做错了什么?我假设我必须以某种方式配置模块,它可以与电子一起使用,但我不知道如何。
【问题讨论】:
标签: javascript node.js npm electron node-gyp