Files
gyandoot-v2/install.sh
Tara Menon 74be39e0d5 fix(install): install camoufox-js@0.11.0 inside daemon package, not globally
Root cause: camoufox-browser@0.1.0 bundles camoufox-js@0.9.3.
When the daemon does 'import("camoufox-js")', Node.js resolves
the BUNDLED version (0.9.3) FIRST — not the global one.
Version 0.9.3 doesn't recognize the version.json format from
0.11.0, so it re-downloads the 298MB browser binary on EVERY
navigation command, causing timeout -> 'Empty response'.

Fix: instead of 'npm install -g camoufox-js@0.11.0' (which
Node ignores because bundled takes priority), use:
  npm install --prefix "$(npm root -g)/camoufox-browser" camoufox-js@0.11.0
This installs v0.11.0 INSIDE the daemon's own node_modules,
overriding the bundled 0.9.3.
2026-06-13 19:25:46 +05:30

22 KiB
Executable File