-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
.tmp.node is not a valid Win32 application. #112
Comments
Facing the same issue. After installing .exe generated by - "electron-builder --win --x64" it is giving me ".tmp.node is not a valid Win32 application". |
I ran into the same issue. I noticed that the error occurs when building the WIndows app on a MacOS or Windows machine. As @Prat1143 mentioned above, setting the Not sure why this would be the case. |
Same issue ".tmp.node is not a valid Win32 application". |
Describe the bug
i have created project in electron using vue
i am using active-win to get info about currently opened app.
active-win works fine for both mac and linux but gives error on windows
To Reproduce
vue create currently-active-window-info
cd currently-active-window-info
vue add electron-builder
npm i active-win
write following code in app.vue
const activeWindow = require('active-win');
-created(){(async () => {
console.log('currently active window',await activeWindow(options));
})();
}
npm run electron:build -- --win --mac --linux
Expected behavior
after following steps mentioned in reproduce section as soon as app is openend it should display currently focused app detail in console which works fine for mac and linux
Screenshots
in mac without error
in window with error
Environment (please complete the following information):
process versions
node: '12.14.1',
v8: '8.3.110.13-electron.0',
uv: '1.33.1',
zlib: '1.2.11',
brotli: '1.0.7',
ares: '1.15.0',
modules: '80',
nghttp2: '1.40.0',
napi: '5',
llhttp: '2.0.1',
http_parser: '2.8.0',
openssl: '1.1.0',
icu: '65.1',
unicode: '12.1',
electron: '9.4.4',
chrome: '83.0.4103.122'
Vue.config.js
module.exports = {
"pluginOptions": {
"electronBuilder": {
"externals": ['iohook','sqlite-async','sqlite3','active-win'],
"nodeIntegration": true,
"builderOptions": {
"publish": [
"github"
]
}
}
},
"transpileDependencies": [
"vuetify"
]
}
The text was updated successfully, but these errors were encountered: