You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using @mendable/firecrawl-js in a Bazel project, the package fails to resolve its dependencies properly. The isows dependency can't find the ws module even when both are installed and available in the build environment.
This seems related to #885 where similar issues occur in Firebase Functions, suggesting a broader problem with how dependencies are handled in non-Node environments.
To Reproduce
Here's a minimal reproduction using basic Bazel + TypeScript setup:
Package should work in Bazel builds just like it does in standard Node.js environments.
Environment
Firecrawl Version: 1.11.2
Node.js Version: 20.x
Build System: Bazel
OS: Linux (but reproducible on any OS)
Technical Details
The error comes from isows not being able to find ws through standard Node.js module resolution. This happens in Bazel because it enforces strict dependency declarations and module resolution.
Similar issue reported in #885 for Firebase Functions - both environments have strict dependency handling that differs from standard Node.js resolution.
Business Impact
We were planning to use Firecrawl (Standard Plan -> Growth Plan within 6 months) but this blocker is forcing us to evaluate alternatives since we need Bazel compatibility for our build system.
Additional Notes
Tried explicit dependency declarations at multiple levels
Tried various Bazel Node.js rule configurations
Issue persists regardless of specific Bazel Node.js rules used
The text was updated successfully, but these errors were encountered:
Describe the Bug
When using @mendable/firecrawl-js in a Bazel project, the package fails to resolve its dependencies properly. The
isows
dependency can't find thews
module even when both are installed and available in the build environment.This seems related to #885 where similar issues occur in Firebase Functions, suggesting a broader problem with how dependencies are handled in non-Node environments.
To Reproduce
Here's a minimal reproduction using basic Bazel + TypeScript setup:
Expected Behavior
Package should work in Bazel builds just like it does in standard Node.js environments.
Environment
Technical Details
The error comes from
isows
not being able to findws
through standard Node.js module resolution. This happens in Bazel because it enforces strict dependency declarations and module resolution.Similar issue reported in #885 for Firebase Functions - both environments have strict dependency handling that differs from standard Node.js resolution.
Business Impact
We were planning to use Firecrawl (Standard Plan -> Growth Plan within 6 months) but this blocker is forcing us to evaluate alternatives since we need Bazel compatibility for our build system.
Additional Notes
The text was updated successfully, but these errors were encountered: