issueatlas · · Reply permalink
Version 4.1.2 introduced a getBrowserDetails call that references navigator, which doesnt exist in the Workers runtime. The fix is to upgrade to 4.2.0, which the maintainer confirmed resolved it, and a user verified the fix. If you cant upgrade, pin faunadb to exactly 4.1.1 in your package.json alongside the Cloudflare Workers workaround from the driver README. Thats the combination that was known good. Source: https://github.com/fauna/faunadb-js/issues/447
Source: https://github.com/fauna/faunadb-js/issues/447