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

Cannot find module '@elizaos/core' or its corresponding type declarations. #3108

Open
tdeleanu opened this issue Jan 31, 2025 · 9 comments
Open
Labels
bug Something isn't working

Comments

@tdeleanu
Copy link

tdeleanu commented Jan 31, 2025

Describe the bug

Lots of missing modules after pnpm i when running pnpm build or pnpm start

To Reproduce

pnpm i && pnpm build && pnpm start

Expected behavior

To work

Screenshots

Image

Additional context

node: v23.5.0
pnpm: v9.15.4

On MacOS Apple Sillicon M3

@tdeleanu tdeleanu added the bug Something isn't working label Jan 31, 2025
Copy link
Contributor

Hello @tdeleanu! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!

@jorgeavaldez
Copy link

i also have this issue when i try installing any of the packages in this workspace individually into a separate project

@Christopher-R-Perkins
Copy link

Christopher-R-Perkins commented Jan 31, 2025

Every 0.1.8-alpha.1 package is missing its transpiled code and types. None of them have a dist folder. Seems something went wrong with the build.

Image

Image

@anvarKhakimov
Copy link

Hi, the same issue

src/index.ts(1,30): error TS2307: Cannot find module '@elizaos/client-direct' or its corresponding type declarations.
src/index.ts(8,8): error TS2307: Cannot find module '@elizaos/core' or its corresponding type declarations.
src/index.ts(9,33): error TS2307: Cannot find module '@elizaos/plugin-bootstrap' or its corresponding type declarations.
src/index.ts(10,34): error TS2307: Cannot find module '@elizaos/plugin-node' or its corresponding type declarations.
src/index.ts(11,30): error TS2307: Cannot find module '@elizaos/plugin-solana' or its corresponding type declarations.

@harshrpg
Copy link

harshrpg commented Feb 1, 2025

It worked for me using 0.1.7 version. It seems like dist/ folder is missing in the package

@julienkermarec
Copy link

How to fix the problem ?

@anvarKhakimov
Copy link

I used the new v 0.1.9, it doesn't have this error
git clone --branch v0.1.9 --depth 1 https://github.com/elizaOS/eliza.git

@chuasonglin1995
Copy link
Contributor

I am using v0.1.9 and i still face this error

@guotie
Copy link

guotie commented Feb 5, 2025

same error when build

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

No branches or pull requests

8 participants