Package Details: ai-browser-git 1.6.8.r1.g04ba726-1

Git Clone URL: https://aur.archlinux.org/ai-browser-git.git (read-only, click to copy)
Package Base: ai-browser-git
Description: Client app for ChatGPT, Gemini, Claude, Phind, Perplexity, Genspark and Google AI Studio with Monaco Editor integration.(Use system-wide electron)
Upstream URL: https://jun-murakami.web.app/#aiBrowser
Keywords: allotment chatgpt claude electron electron-app electronjs gemini mui mui-material muiv5 react reactjs typescript
Licenses: MIT
Conflicts: ai-browser
Provides: ai-browser
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 0
Popularity: 0.000000
First Submitted: 2024-03-29 04:12 (UTC)
Last Updated: 2026-03-02 04:59 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

zxp19821005 commented on 2026-03-02 05:40 (UTC)

@micwoj92 I've added NODE_OPTIONS="--max-old-space-size=4096", can you try again?

micwoj92 commented on 2026-03-01 22:15 (UTC)

Thanks, now it fails with this error:

vite v7.3.1 building ssr environment for production...
transforming...
✓ 8 modules transformed.
rendering chunks...
out/main/index.js  36.28 kB
✓ built in 112ms
vite v7.3.1 building ssr environment for production...
transforming...
✓ 1 modules transformed.
rendering chunks...
out/preload/index.mjs  2.94 kB
✓ built in 10ms
vite v7.3.1 building client environment for production...
transforming...

<--- Last few GCs --->

[2776:0x440c7000]    31649 ms: Scavenge 2024.7 (2053.1) -> 2017.3 (2070.4) MB, pooled: 0 MB, 1.99 / 0.00 ms  (average mu = 0.352, current mu = 0.305) allocation failure; 
[2776:0x440c7000]    32236 ms: Mark-Compact (reduce) 2024.6 (2070.6) -> 2015.8 (2040.6) MB, pooled: 0 MB, 17.97 / 0.00 ms  (+ 546.0 ms in 112 steps since start of marking, biggest step 5.0 ms, walltime since start of marking 587 ms) (average mu = 0.328, c
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0x735eec node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
 2: 0xbafc40  [node]
 3: 0xbafd2f  [node]
 4: 0xe48825  [node]
 5: 0xe48852  [node]
 6: 0xe48b4a  [node]
 7: 0xe5906a  [node]
 8: 0xe5d410  [node]
 9: 0x18efec1  [node]
/startdir/PKGBUILD: line 87:  2765 Aborted                    (core dumped) NODE_ENV=production npm run build
==> ERROR: A failure occurred in build().
    Aborting...

zxp19821005 commented on 2026-02-26 00:08 (UTC)

@micwoj92 Thanks for your feedback, I'd fixed it. Can you try again?

micwoj92 commented on 2026-02-16 05:35 (UTC)

Build fails:

npm error gyp ERR! find Python 
npm error gyp ERR! find Python Python is not set from command line or npm configuration
npm error gyp ERR! find Python Python is not set from environment variable PYTHON
npm error gyp ERR! find Python checking if "python3" can be used
npm error gyp ERR! find Python - executable path is ""
npm error gyp ERR! find Python - "" could not be run
npm error gyp ERR! find Python checking if "python" can be used
npm error gyp ERR! find Python - executable path is ""
npm error gyp ERR! find Python - "" could not be run
npm error gyp ERR! find Python 
npm error gyp ERR! find Python **********************************************************
npm error gyp ERR! find Python You need to install the latest version of Python.
npm error gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
npm error gyp ERR! find Python you can try one of the following options:
npm error gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
npm error gyp ERR! find Python (accepted by both node-gyp and npm)
npm error gyp ERR! find Python - Set the environment variable PYTHON
npm error gyp ERR! find Python - Set the npm configuration variable python:
npm error gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
npm error gyp ERR! find Python For more information consult the documentation at:
npm error gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
npm error gyp ERR! find Python **********************************************************
npm error gyp ERR! find Python 
npm error gyp ERR! configure error 
npm error gyp ERR! stack Error: Could not find any Python installation to use
npm error gyp ERR! stack at PythonFinder.fail (/build/ai-browser-git/src/ai-browser.git/node_modules/node-gyp/lib/find-python.js:306:11)
npm error gyp ERR! stack at PythonFinder.findPython (/build/ai-browser-git/src/ai-browser.git/node_modules/node-gyp/lib/find-python.js:164:17)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
npm error gyp ERR! stack at async configure (/build/ai-browser-git/src/ai-browser.git/node_modules/node-gyp/lib/configure.js:27:18)
npm error gyp ERR! stack at async run (/build/ai-browser-git/src/ai-browser.git/node_modules/node-gyp/bin/node-gyp.js:81:18)
npm error gyp ERR! System Linux 6.12.71-1-lts
npm error gyp ERR! command "/build/ai-browser-git/src/.nvm/versions/node/v25.6.1/bin/node" "/build/ai-browser-git/src/ai-browser.git/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd /build/ai-browser-git/src/ai-browser.git/node_modules/@homebridge/node-pty-prebuilt-multiarch
npm error gyp ERR! node -v v25.6.1
npm error gyp ERR! node-gyp -v v11.5.0
npm error gyp ERR! not ok

zxp19821005 commented on 2025-10-13 21:09 (UTC)

@Lylyrian I think you can send an issue to the upstream. The script of the package.json hasn't generated the nessory files.

$ /usr/bin/ai-browser %U
innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/prebuild-loader.js
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/unixTerminal.js
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1390:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:130206)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1032:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1037:22)
    at Module._load (node:internal/modules/cjs/loader:1199:37)
    at c._load (node:electron/js2c/node_init:2:17993)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.require (node:internal/modules/cjs/loader:1470:12)
    at require (node:internal/modules/helpers:147:16) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/prebuild-loader.js',
    '/usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/unixTerminal.js',
    '/usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/index.js'
  ]
}
App threw an error during load
Error: Cannot find module '../build/Release/pty.node'

Lylyrian commented on 2025-10-13 16:14 (UTC)

No, sorry :s I remove the package then re-install, and have the same error when I launch it. Build work, but I can't start the software… Maybe some npm package who are "deprecated" ? But I am not familiar with NPM.

zxp19821005 commented on 2025-10-09 09:59 (UTC)

@Lylyrian I've downgrade the node version to 22, and build well. Can you try again?

Lylyrian commented on 2025-09-19 17:33 (UTC) (edited on 2025-09-19 17:35 (UTC) by Lylyrian)

I had somes troubles when I launch ai-browser with this last release :


innerError Error: Cannot find module '../build/Debug/pty.node'
Require stack:
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/prebuild-loader.js
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/unixTerminal.js
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1390:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:130206)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1032:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1037:22)
    at Module._load (node:internal/modules/cjs/loader:1199:37)
    at c._load (node:electron/js2c/node_init:2:17993)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.require (node:internal/modules/cjs/loader:1470:12)
    at require (node:internal/modules/helpers:147:16) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/prebuild-loader.js',
    '/usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/unixTerminal.js',
    '/usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/index.js'
  ]
}
App threw an error during load
Error: Cannot find module '../build/Release/pty.node'
Require stack:
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/prebuild-loader.js
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/unixTerminal.js
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1390:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:130206)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1032:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1037:22)
    at Module._load (node:internal/modules/cjs/loader:1199:37)
    at c._load (node:electron/js2c/node_init:2:17993)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.require (node:internal/modules/cjs/loader:1470:12)
    at require (node:internal/modules/helpers:147:16)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module '../build/Release/pty.node'
Require stack:
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/prebuild-loader.js
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/unixTerminal.js
- /usr/lib/ai-browser/app.asar/node_modules/@homebridge/node-pty-prebuilt-multiarch/lib/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1390:15)
    at s._resolveFilename (node:electron/js2c/browser_init:2:130206)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1032:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1037:22)
    at Module._load (node:internal/modules/cjs/loader:1199:37)
    at c._load (node:electron/js2c/node_init:2:17993)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
    at Module.require (node:internal/modules/cjs/loader:1470:12)
    at require (node:internal/modules/helpers:147:16)