sqlectron-gui: Build fails on Arch Linux
Hi,
I tried to build sqlelectron 1.8 from source on Arch Linux and the build command fails. I ran these commands:
npm install
npm run build:linux
The installation worked fine, but the build command fails with following message:
Error: Application entry file ./out/browser/main.js could not be found in package. Seems like a wrong configuration.
at LinuxPackager.<anonymous> (/home/grelek/downloads/sqlectron-gui-1.8.0/node_modules/electron-builder/src/platformPackager.ts:245:13)
at undefined.next (native)
at tryOnImmediate (timers.js:543:15)
at processImmediate [as _immediateCallback] (timers.js:523:5)
From previous event:
at tsAwaiter (/home/grelek/downloads/sqlectron-gui-1.8.0/node_modules/electron-builder/src/awaiter.ts:10:47)
at Object.build (/home/grelek/downloads/sqlectron-gui-1.8.0/node_modules/electron-builder/src/builder.ts:30:59)
at Object.<anonymous> (/home/grelek/downloads/sqlectron-gui-1.8.0/node_modules/electron-builder/src/build-cli.ts:47:2)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:456:32)
at tryModuleLoad (module.js:415:12)
at Function.Module._load (module.js:407:3)
at Function.Module.runMain (module.js:575:10)
at startup (node.js:160:18)
at node.js:445:3
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 22 (13 by maintainers)
Commits related to this issue
- Add installer support for more Linux distros * deb * rpm * sh * freebsd * pacman * tar.xz * tar.gz This should close the issues #143 and #197 — committed to sqlectron/sqlectron-gui by maxcnunes 8 years ago
- Remove package dependecies for Linux apps Probably it fix the Linux installers #143. — committed to sqlectron/sqlectron-gui by maxcnunes 8 years ago
Same error here in Arch Linux, I installed all the packages but this is what I get while dist-compiling:
TypeError: Path must be a string. Received undefined
while running./dist/Sqlectron-linux-x64/Sqlectron
Okay, I was able to build it in Arch Linux x64 by downgrading node to 4.4.5 Apparently is a problem with gulp / vinyl-fs I’m going to share with you guys the compiled version, tested in Arch x64
Here it is (click it in ~20 mins since it’s still uploading and I’ve got a pretty bad upload connection here)
@denysvitali Ok, I’ll try it. I wanted to make an AUR package for SQLELECTRON but those problems slowed me down and I didn’t have time to solve them. 😄