Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] error TS18046: 'info.metadata' is of type 'unknown'. #1051

Closed
L1aoxw opened this issue Jan 10, 2025 · 4 comments
Closed

[Bug] error TS18046: 'info.metadata' is of type 'unknown'. #1051

L1aoxw opened this issue Jan 10, 2025 · 4 comments
Labels
bug Something isn't working question Further information is requested

Comments

@L1aoxw
Copy link

L1aoxw commented Jan 10, 2025

Describe the Bug
For local deployment, after installing the dependencies with'pnpm install ', when I execute'pnpm run start' again, the following error appears

Screenshots
image

Environment :

  • OS: Windows10
  • Node.js Version: 20.18.1
  • pnpm Version:9.12.2
@L1aoxw L1aoxw added the bug Something isn't working label Jan 10, 2025
@nickscamara
Copy link
Member

@calebpeffer I remember you faced a similar issue to this, what was wrong again?

@nickscamara nickscamara added the question Further information is requested label Jan 10, 2025
@ftonato
Copy link
Collaborator

ftonato commented Jan 10, 2025

Hello,

I just did some tests locally; these are the steps, and I didn't encounter any problems:

  1. Cloned the repository
  2. cd firecrawl && cd apps/api
    2.1) pnpm install
  3. touch .env and replaced it with the valid data (only the ones I really need)
  4. First terminal: redis-server
  5. Second terminal: pnpm run workers
  6. Third terminal: pnpm run start

CleanShot 2025-01-10 at 17 54 17@2x


Environment:

CleanShot 2025-01-10 at 17 54 52@2x

@L1aoxw
Copy link
Author

L1aoxw commented Jan 13, 2025

Hello,

I just did some tests locally; these are the steps, and I didn't encounter any problems:

  1. Cloned the repository
  2. cd firecrawl && cd apps/api
    2.1) pnpm install
  3. touch .env and replaced it with the valid data (only the ones I really need)
  4. First terminal: redis-server
  5. Second terminal: pnpm run workers
  6. Third terminal: pnpm run start

CleanShot 2025-01-10 at 17 54 17@2x

Environment:

CleanShot 2025-01-10 at 17 54 52@2x

I cloned the code again and followed the above steps. It is running normally. Thank you for your reply.

@L1aoxw L1aoxw closed this as completed Jan 13, 2025
@hqman
Copy link

hqman commented Jan 25, 2025

Sorry to bother you, but why am I still encountering the same issue? I'm using the latest code version.

I've tried the following methods, but none of them worked:

  • Deleting the entire directory and cloning it again.

  • Reinstalling pnpm.

pnpm -v
10.0.0

How to fix this?
@nickscamara

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants