-
Notifications
You must be signed in to change notification settings - Fork 3k
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 '@ai16z/eliza' or its corresponding type declarations. #601
Comments
I’ve run I to this issue as well. I have a fix coming for it. Workaround is to put ../ in front of characters. ie. ../characters/trump.character.json |
I changed the command to pnpm start --character="../characters/trump.character.json", but the same error still occurs. |
Glad I'm not the only one. Exact same issue on a fresh Debian 12. EDIT: Solved by doing a ...At least the character builds but now I have a new error: EDIT #2: Fixed the intents error above by switching these 3 toggles in Discord Dev Portal. Bot seems to work now. |
Would love to connect with you on discord. I'm on a similar path and want to capture any documentation items that we should capture. My discord id is yoda26. Can you dm me back. I'll delete this message afterwards. |
I believe this gets resolved if you do |
It does but that sucks, need to use turborepo |
Environment:
WSL2 : Ubuntu-20.04
Nodejs:v23.1
pnpm:9.14.2
git checkout v0.1.3
When I run
pnpm install
, no errors occur.However, when I run
pnpm start --character="characters/trump.character.json"
, an issue arises.pnpm --filter "@ai16z/agent" start --isRoot "--character=characters/trump.character.json"
src/character.ts:1:64 - error TS2307: Cannot find module '@ai16z/eliza' or its corresponding type declarations.
1 import { Character, ModelProviderName, defaultCharacter } from "@ai16z/eliza";
~~~~~~~~~~~~~~
src/index.ts:1:41 - error TS2307: Cannot find module '@ai16z/adapter-postgres' or its corresponding type declarations.
1 import { PostgresDatabaseAdapter } from "@ai16z/adapter-postgres";
Describe the bug
The text was updated successfully, but these errors were encountered: