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
Describe the Bug
This won't compile with vite, so doesn't work with Remix, React Router 7 (framework mode), etc. Even though this is a server library, it appears to be referencing browser environments...
[vite] (ssr) Error when evaluating SSR module virtual:react-router/server-build:
|- ReferenceError: window is not defined
To Reproduce
Steps to reproduce the issue:
import FirecrawlApp, { ScrapeResponse } from '@mendable/firecrawl-js' to a server module in any vite project
Expected Behavior
No errors are thrown.
Environment (please complete the following information):
OS: [Windows]
Firecrawl Version: 1.16.0
Node.js Version: 20.11.1
The text was updated successfully, but these errors were encountered:
Describe the Bug
This won't compile with vite, so doesn't work with Remix, React Router 7 (framework mode), etc. Even though this is a server library, it appears to be referencing browser environments...
To Reproduce
Steps to reproduce the issue:
import FirecrawlApp, { ScrapeResponse } from '@mendable/firecrawl-js'
to a server module in any vite projectExpected Behavior
No errors are thrown.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: