-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to import .node #937
Comments
Try marking // in vue.config.js
module.exports = {
pluginOptions: {
electronBuilder: {
externals: ['robotjs']
}
}
} |
@nklayman Thank you for you reply! I've just tried with the following config: module.exports = {
pluginOptions: {
electronBuilder: {
nodeIntegration: true,
externals: ['iohook', 'robotjs']
}
}
} Got the same error:
|
Just tested it myself and in addition to marking it as an external, I also had to add |
@nklayman thank you so much for your help I was able to grab a Linux computer and it compiled like a charm, it turns out there is something wrong in my GitHub Action that is giving that error. I'll investigate what is causing that. |
Throws an error when trying to build:
Here's my
vue.config.js
:The text was updated successfully, but these errors were encountered: