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.

Build fails on Arch Linux

See original GitHub issue

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

Also, here’s Gist of the npm-debug.log file.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
denysvitalicommented, May 25, 2016

Same error here in Arch Linux, I installed all the packages but this is what I get while dist-compiling:

ERROR in Path must be a string. Received undefined
>> success
Warning: license in the development package.json is deprecated, please move to the application package.json

TypeError: Path must be a string. Received undefined while running ./dist/Sqlectron-linux-x64/Sqlectron

screenshot from 2016-05-25 14-28-46

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)

1reaction
radimsuckrcommented, May 25, 2016

@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. 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Error: A failure occured in build() - Arch Linux Forums
I'm completely new to arch and a novice to linux in general - though I know the basics of terminal code. It goes...
Read more >
Build fails on Arch Linux · Issue #47915 · tensorflow ... - GitHub
using the instruction related to Arch Linux (see the PKGBUILD file here) fails. The error is the following (I'll log the entire output,...
Read more >
Packages fail to build from AUR : r/archlinux - Reddit
Hi, I have already cleared my pacman cache, amongst other things. Upon doing paru -Syu I get this error : error: packages failed...
Read more >
ninja: build stopped: subcommand failed when building dxvk ...
i tried building it using ''' ./package-release.sh master /~/home/dxvk --no-package ''' it started the process with not so many errors but when ...
Read more >
Programs failing to compile on aarch64 with `features.h: No ...
Thanks for any help :) arch-linux · c++ · compile · manjaro · build · Share.
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