question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

executable files not working on windows atleast

See original GitHub issue

i build my execution files for all platforms but windows apps doesn’t open i checked task manager and it was show up for a second and terminated i didn’t test about other platforms yet

Which version of electron-packager are you using?

^7.0.2

What CLI arguments are you passing? Alternatively, if you are using the API, what parameters are you passing to the packager() function? electron-packager . myapp --platform=all --arch=all

What version of Electron are you building with?

“electron-prebuilt”: “^1.1.3”

What is the host platform are you running electron-packager on?

win 10 64bits node 4.4.5

What target platform(s)/architecture(s) are you building for? all plats but windows is matter

Is there a stack trace in the error message you’re seeing?

everything is OK apparently

Packaging app for platform linux ia32 using electron v1.1.3
Packaging app for platform win32 ia32 using electron v1.1.3
Cannot create symlinks; skipping darwin platform
Packaging app for platform linux x64 using electron v1.1.3
Cannot create symlinks; skipping mas platform
Packaging app for platform win32 x64 using electron v1.1.3
Wrote new apps to:
E:\Projects\electron\dbtest\myapp-linux-ia32
E:\Projects\electron\dbtest\myapp-win32-ia32
E:\Projects\electron\dbtest\myapp-linux-x64
E:\Projects\electron\dbtest\myapp-win32-x64

Please provide either a failing testcase or detailed steps to reproduce your problem.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
maleptcommented, Jun 9, 2016

electron-packager uses a blacklist to determine what files get copied. Basically so long as your file doesn’t match any of the regular expression patterns in the blacklist and it’s in the application directory, it should be copied into your application bundle.

1reaction
yeganehaymcommented, Jun 9, 2016

solved that was my bad and i wasted your time i have a sql.txt file and i forgot it about when the app reached to this line var sqlStr=fs.readFileSync("./sql.txt"); sql.txt wasn’t exist and stopped app i must place it on it is there something to pack other files in this lib?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix .exe files not opening in Windows 10? - Auslogics
Are you wondering, why am I unable to open .exe files on Windows 10, his article will be your guide. Just follow the...
Read more >
Exe File is Not Opening: 6 Ways to Fix it [Force Launch]
If EXE files are not opening on Windows 11, we have quite a few solutions for you to try on. Apply them one...
Read more >
EXE file will not open - Microsoft Community
I have downloaded other EXE files which open fine so I am at a loss what is causing this issue. The windows troubleshooter...
Read more >
executable files not working on windows atleast #389 - GitHub
i build my execution files for all platforms but windows apps doesn't open i checked task manager and it was show up for...
Read more >
Cannot Open .EXE Files in Windows 10 – Fixed
According to Microsoft experts, this problem occurs due to corrupt registry settings, or system issues due to virus infection or third-party ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found