惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
小众软件
小众软件
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
B
Blog
量子位
B
Blog RSS Feed
Vercel News
Vercel News
Blog — PlanetScale
Blog — PlanetScale
Last Week in AI
Last Week in AI
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
爱范儿
爱范儿
Jina AI
Jina AI
C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - agent-browser
2026-06-23 · via AUR Newest Packages

Latest Comments

anjanaya commented on 2026-04-08 06:48 (UTC)

Hi asermax, thanks for the suggestion! I've applied your --ignore-scripts approach in 0.25.3-1.

Previously I was fixing the broken symlinks after npm install by finding all symlinks in /usr/bin that pointed into $pkgdir and rewriting them as relative paths with ln -sfr. Your approach is cleaner — skipping the postinstall entirely prevents the problem at the source rather than patching it after. The postinstall script was creating absolute symlinks to the platform-specific binary (e.g. agent-browser-linux-x64), which baked in the build directory path. With --ignore-scripts, npm creates a proper relative symlink to agent-browser.js instead.

Confirmed working:

readlink -f $(command -v agent-browser)
/usr/lib/node_modules/agent-browser/bin/agent-browser.js

Also updated to 0.25.3 while at it.

asermax commented on 2026-02-23 03:04 (UTC)

Hey, me again 😬

Today I had something weird happen: I cleared my yay cache, and the agent-browser binary stopped working. I did some digging and found that apparently the upstream package has a script that does some changes on the symlink to the binary. In the case of the AUR package, this ends up causing the binary to point to the package source instead of the actual installed path.

Not sure if this is something that's happening to everyone, but if the following change doesn't break your installation, I think it's worth applying to avoid having this weird behavior in the future.

The idea is to disable the postinstall script alltogether and make the binary executable (the postinstall does that too), changing lines 16-20 to:

    /usr/bin/npm install -g --ignore-scripts --cache "${srcdir}/npm-cache" --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz"

    # Fix permissions
    find "${pkgdir}/usr" -type d -exec chmod 755 {} +
    chmod 755 "${pkgdir}/usr/lib/node_modules/${pkgname}"/bin/agent-browser-*

asermax commented on 2026-02-11 03:56 (UTC)

Seems to be working now, thanks for the changes!

anjanaya commented on 2026-02-09 08:42 (UTC) (edited on 2026-02-09 08:42 (UTC) by anjanaya)

Thanks for the info, I have updated the package with your suggestions please check and let me know if this works better for you?

asermax commented on 2026-02-09 02:04 (UTC) (edited on 2026-02-09 02:06 (UTC) by asermax)

anjanaya commented on 2026-02-03 08:53 (UTC) (edited on 2026-02-03 08:54 (UTC) by anjanaya)

Hmm, are you using asdf or other such version Managers that change the path and add the version of npm or node from location other than default nodejs installation using pacman which I think is /usr/bin Without this the build fails for me because it picks up older version that's required for another project because asdf adds its path to the beginning. If you have a suggestion I'm open to ideas but I thought rather than removing asdf from path it's better to have system binary before and if it doesn't exist then pick whichever else it finds.

asermax commented on 2026-02-02 23:16 (UTC)

This change broke the installation for me, I don't know about everyone else:

export PATH="/usr/bin:$PATH"