Running AppImage shows error 'cannot find /tmp/.../browser/init.js'
See original GitHub issue- Version: 20.15.1
- Target: Linux
After npx electron-builder --linux
running the .AppImage
on Ubuntu fails with with error below.
~/Projects/XXXX$ ./build/electron/XXXX-X.X.X-x86_64.AppImage
module.js:545
throw err;
^
Error: Cannot find module '/tmp/.mount_XXXXUh8n4M/resources/electron.asar/browser/init.js'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:473:25)
at Function.Module.runMain (module.js:683:10)
at startup (bootstrap_node.js:196:16)
at bootstrap_node.js:622:3
Issue Analytics
- State:
- Created 5 years ago
- Reactions:17
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Run Instagram IGdm.appimage - Ask Ubuntu
appimage (which I downloaded from http://igdm.me/). I try to run it via terminal and it show me this error adie@adie-X550DP:~/Desktop/Apps$ ./ ...
Read more >qt - application cannot get the running AppImage path
But when I distribute my application as AppImage on Linux, this breaks. It returns the path where the running AppImage was mounted, e.g....
Read more >Run Instagram IGdm.appimage on freshly install Linux Mint
I try to run it via terminal and it show me this error ... Error: Cannot find module '/tmp/. ... at startup (bootstrap_node.js:196:16)...
Read more >Can't Run AppImage on Ubuntu 22.04? Here's How to Fix it
You need to install the missing library and try again. Here's how. ... If you directly try to run an AppImage with double...
Read more >Cannot find module 'app' at Module. - ADocLib
Error : Cannot Find Module '/Applications/Atom.App/***/Electron.Asar/Browser/Init.Js' While Attaching Debugger To Nodejs. Stepbystep tutorial to building a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was having the same issue in Ubuntu 16.04. Downgrading electron-builder to 20.14.7 solved my particular build issue.
Seems like this issue did not exist in v20.14.7.