Search Criteria
Package Details: libelectron 1.0.27-1
Package Actions
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) |
Dependencies (4)
- git (git-gitAUR, git-glAUR)
- icu (icu-gitAUR)
- npm (corepackerAUR, python-nodejs-wheelAUR)
- unzip (unzip-natspecAUR, unzip-zstdAUR) (make)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 Next › Last »
xiota commented on 2023-12-18 15:38 (UTC)
You cannot guarantee that
$srcdir
does not contain spaces because you do not control the build environment.gameslayer commented on 2023-12-18 14:47 (UTC)
Thanks for the suggestion but it doesn't containnant spaces
xiota commented on 2023-12-18 14:39 (UTC) (edited on 2023-12-18 14:43 (UTC) by xiota)
$srcdir
should be guarded by quotes because it can contain spaces.Should also decouple download link from
$pkgrel
becausepkgrel
may need to be bumped independently of upstream file naming.gameslayer commented on 2023-12-06 08:35 (UTC)
I just tested that and it didn't work for me also it's changing node the path to /home/corey/node_modules instead of what the path is supposed to be, I am correcting it by putting the absolute path in to fix this issue since several people have ran into the issue.
Thanks you everyone who has reported the issue, I will push I fix now.
bergs89 commented on 2023-12-06 08:25 (UTC)
I had the same issue due to cp error. As previously suggested the change in PKGBUILD of line: cp -r ./node_modules "$pkgdir/opt/libelectron" to this: cp -r ${NODE_PATH:-$HOME/node_modules} "$pkgdir/opt/libelectron" fixes this issue.
gameslayer commented on 2023-11-22 16:01 (UTC) (edited on 2023-11-22 16:09 (UTC) by gameslayer)
Hey @Ezio I'm not sure why pkgbuild does this to people but try clearing the cache and try it again. Let me know if that corrects the issue. When the package installed the dependencies it does it in srcdir than moves the folder to where it needs to go in the fakeroot building process
Ezio commented on 2023-11-22 15:26 (UTC)
Could not install recently due to cp error. Consider modifying this PKGBUILD line: cp -r ./node_modules "$pkgdir/opt/libelectron" to this: cp -r ${NODE_PATH:-$HOME/node_modules} "$pkgdir/opt/libelectron"
gameslayer commented on 2023-10-08 02:13 (UTC)
Hmm that is very odd, I can't even reproduce this even with yay
ferrvittorio commented on 2023-10-05 10:21 (UTC) (edited on 2023-10-05 10:28 (UTC) by ferrvittorio)
Hi, unfortunately with "makepkg -i PKGBUILD" I get the same result. Error with some ./node_modules directory which does not exist. Probably the problem is in npm installer (not in yay)?
Actually I looked, my lib is in: npm@10.1.0 /usr/lib/node_modules/npm
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 Next › Last »