我有一个电子@2.0.16应用程序需要usb,但是运行电子重新构建器我得到了这个错误
$ ./node_modules/.bin/electron-rebuild
Error: Native module 'usb' requires Node-API but Electron v2.0.16 does not support Node-API发布于 2021-11-26 05:14:36
根据https://github.com/timfish/node-api-version/blob/master/index.js#L43
最早的是3.0.0-beta.1
https://stackoverflow.com/questions/70119836
复制相似问题