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

推荐订阅源

S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 【当耐特】
月光博客
月光博客
Vercel News
Vercel News
D
Docker
I
InfoQ
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
有赞技术团队
有赞技术团队
雷峰网
雷峰网
博客园 - 聂微东
小众软件
小众软件
Y
Y Combinator Blog
腾讯CDC
L
LangChain Blog
The GitHub Blog
The GitHub Blog
宝玉的分享
宝玉的分享
Stack Overflow Blog
Stack Overflow Blog
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss

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) - ai-browser-git
2026-05-31 · via AUR Newest Packages

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)