Closed BellezaEmporium closed 3 years ago
The following patch with patch-package (https://www.npmjs.com/package/patch-package) should do the trick while waiting for an update of node-abi
diff --git a/node_modules/node-abi/abi_registry.json b/node_modules/node-abi/abi_registry.json
index 852f500..632a1ae 100644
--- a/node_modules/node-abi/abi_registry.json
+++ b/node_modules/node-abi/abi_registry.json
@@ -88,5 +88,12 @@
"lts": false,
"future": true,
"abi": "85"
+ },
+ {
+ "runtime": "electron",
+ "target": "11.0.0",
+ "lts": false,
+ "future": true,
+ "abi": "85"
}
]
What about opening a PR for this? Shall I do it?
@julianxhokaxhiu pretty sure it'll be done automatically tonight by the Github Action
Can confirm that latest release fixes this issue. Closing this issue.
It seems that node-abi does not support correctly the latest electron version, named 11.
Here is, for example, the full error brought up by "electron-rebuild" :
An unhandled error occurred inside electron-rebuild Could not detect abi for version 11.0.0 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron