TooTallNate / node-bindings

Helper module for loading your native module's `.node` file
MIT License
411 stars 94 forks source link

Cannot read property 'modules' of undefined at /node_modules/bindings/bindings.js with electron #71

Open lcy813306986 opened 3 years ago

lcy813306986 commented 3 years ago

TypeError: Cannot read property 'modules' of undefined at Object.eval (bindings.js?dfc1:29) at eval (bindings.js:223) at Object../node_modules/bindings/bindings.js (1.js:231) at webpack_require__ (app.js:854) at fn (app.js:151) at eval (linux.js?88eb:2) at Object../node_modules/@serialport/bindings/lib/linux.js (1.js:65) at webpack_require__ (app.js:854) at fn (app.js:151) at Object.eval (index.js?c888:14)

nodePreGyp: 'node-v' + process.versions.modules + '-' + process.platform + '-' + process.arch,

AbstractFruitFactory commented 3 years ago

Any news on this? Having the same issue.

cxt19951016 commented 2 years ago

Same issue.