Package Details: libelectron 1.0.27-1

Git Clone URL: https://aur.archlinux.org/libelectron.git (read-only, click to copy)
Package Base: libelectron
Description: A collection of npm dependencies for electron packages.
Upstream URL: https://gitlab.com/linuxbombay/libelectron/libelectron
Licenses: GPL
Submitter: gameslayer
Maintainer: gameslayer
Last Packager: gameslayer
Votes: 8
Popularity: 0.51
First Submitted: 2022-11-18 11:55 (UTC)
Last Updated: 2024-09-30 23:55 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 11 Next › Last »

gameslayer commented on 2024-02-07 10:20 (UTC) (edited on 2024-02-07 10:25 (UTC) by gameslayer)

that isn't right, can you remove that node_modules folder and try npm i electron@$_electron electron-context-menu@$_ecm electron-chrome-extensions@$_electron_ce fs-extra@$_fs_extra also can you do uname -m

Brummbaer commented on 2024-02-07 10:06 (UTC)

After searching a bit I could get it to create a node_modules directory by running npm init.

I have no idea how npm works, so I don't know if this is the right thing to do or if my package.json created with it makes sense.

Brummbaer commented on 2024-02-07 09:55 (UTC)

Nothing is created.

brummbaer@pandabaer ~/libelectron/src/libelectron (git)-[master] % ./setup

changed 1 package, and audited 133 packages in 4s

39 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

changed 1 package, and audited 133 packages in 35s

39 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
./setup  38,28s user 18,20s system 145% cpu 38,902 total

brummbaer@pandabaer ~/libelectron/src/libelectron (git)-[master] % ls     
README.md  setup
brummbaer@pandabaer ~/libelectron/src/libelectron (git)-[master] %

gameslayer commented on 2024-02-07 09:48 (UTC)

odd, can you run setup inside src and show me what it does and tell me if node_modules appears in src

Brummbaer commented on 2024-02-07 09:46 (UTC) (edited on 2024-02-07 09:47 (UTC) by Brummbaer)

Strange, I only have two files there.

/home/brummbaer/libelectron/src 
 libelectron
 libelectron/README.md
 libelectron/setup

gameslayer commented on 2024-02-07 08:37 (UTC)

This is how it should look

https://i.imgur.com/Af90tVc.png

gameslayer commented on 2024-02-07 08:33 (UTC) (edited on 2024-02-07 09:04 (UTC) by gameslayer)

Wtf this is so bazaar, node_modules is supposed to be there in src. Can you check if libelectron/node_modules is in inside the src folder?

Here is my log and why I am so confused

git clone https://aur.archlinux.org/libelectron.git
cd libelectron
makepkg -i
Cloning into 'libelectron'...
remote: Enumerating objects: 110, done.
remote: Counting objects: 100% (110/110), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 110 (delta 33), reused 110 (delta 33), pack-reused 0
Receiving objects: 100% (110/110), 14.71 KiB | 4.90 MiB/s, done.
Resolving deltas: 100% (33/33), done.
==> Making package: libelectron 1.0.18-1 (Wed 07 Feb 2024 18:31:32)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading libelectron-1.0.18-1.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1130    0  1130    0     0   9936      0 --:--:-- --:--:-- --:--:-- 10089
==> Validating source files with sha256sums...
    libelectron-1.0.18-1.tar.bz2 ... Skipped
==> Extracting sources...
  -> Extracting libelectron-1.0.18-1.tar.bz2 with bsdtar
==> Entering fakeroot environment...
==> Starting package()...

added 105 packages in 17s

25 packages are looking for funding
  run `npm fund` for details
npm WARN idealTree Removing dependencies.electron in favor of devDependencies.electron

changed 1 package, and audited 106 packages in 36s

25 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "libelectron"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libelectron 1.0.18-1 (Wed 07 Feb 2024 18:32:42)

Brummbaer commented on 2024-02-07 08:23 (UTC)

Here is the output.

git clone https://aur.archlinux.org/libelectron.git
cd libelectron
makepkg -i


Cloning into 'libelectron'...
remote: Enumerating objects: 110, done.
remote: Counting objects: 100% (110/110), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 110 (delta 33), reused 110 (delta 33), pack-reused 0
Receiving objects: 100% (110/110), 14.71 KiB | 7.35 MiB/s, done.
Resolving deltas: 100% (33/33), done.
==> Making package: libelectron 1.0.18-1 (mer. 07 févr. 2024 09:19:41)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libelectron-1.0.18-1.tar.bz2
==> Validating source files with sha256sums...
    libelectron-1.0.18-1.tar.bz2 ... Skipped
==> Extracting sources...
  -> Extracting libelectron-1.0.18-1.tar.bz2 with bsdtar
==> Entering fakeroot environment...
==> Starting package()...

changed 1 package, and audited 133 packages in 5s

39 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

changed 1 package, and audited 133 packages in 40s

39 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
cp: cannot stat '/home/brummbaer/libelectron/src/libelectron/node_modules': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
makepkg -i  40,95s user 20,38s system 124% cpu 49,280 total

gameslayer commented on 2024-02-07 08:04 (UTC)

Hmm that is very odd, can you do this for me and report back the log please

git clone https://aur.archlinux.org/libelectron.git
cd libelectron
makepkg -i

Brummbaer commented on 2024-02-07 07:59 (UTC)

Sorry that wasn't clear.

Even after clearing the cache / deleting the build dir I still get the error.