-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fix: Getting started instruction issues #3989
Comments
This is new since yesterday, some issue with Named export 'EventEmitter' not found:
|
same error |
node -v npm ERR! A complete log of this run can be found in: |
+1 |
I just decided to study this library and it immediately broke, can you recommend a working previous version? |
When you run Looking at your registry file and the code, I can see where the problem is happening. Here's what's going on:
Here are a couple of possible solutions: Option 1: Install from GitHub directlyTry installing directly from GitHub instead of using npm: npm install -g github:elizaos/cli Option 2: Clone the repo and install locallygit clone https://github.com/elizaos/elizaos.git
cd elizaos/packages/cli
npm install
npm link Option 3: Install a specific version that might worknpm install -g @elizaos/[email protected] Option 4: Modify package.json locallyIf you're working with the source code:
This appears to be a versioning mismatch issue where the CLI is looking for a specific npm version of a package that's primarily distributed via GitHub. The versions in the repository don't align with what's published on npm. |
Having similar issue thanks for sharing. Seems the @elizaos/cli package depends on @elizaos/plugin-sql@^0.25.6, but this version does not exist in the npm registry. |
You need to use @elizaos/cli@beta We need to figure out how to publish the packages to main while still in beta since this will happen to people |
This worked for me thanks |
👍 Great that for your guidelines, I chose the option 2 with the difference that I used pnpm and few other adaptations git clone https://github.com/elizaos/eliza.git |
This issue still persists. I've tried all methods above but still keep getting same error. |
npm install -g @elizaos/cli
Where Found
Test on machine 2 (debian bookworm)
npx elizaos start
Where Found
either that or:
npm error could not determine executable to run
full error:
using node 23
The text was updated successfully, but these errors were encountered: