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

Initial set up #1897

Closed
newbx0 opened this issue Jan 6, 2025 · 6 comments
Closed

Initial set up #1897

newbx0 opened this issue Jan 6, 2025 · 6 comments

Comments

@newbx0
Copy link

newbx0 commented Jan 6, 2025

Describe the bug
Hi, Im new to this.. but I wanted to try see what I could do with Eliza but having some trouble installing. I followed the youtube video for dev school by Shaw and got to installing from Github but something is not going right with the install process.

I am on Windows but I have installed the WSL2 and Ubuntu to run on Cursor.
node v23.5
npm v10.9
pnpm v9.15

To Reproduce
My prompts are in bold:
Opera Snapshot_2025-01-06_160516_github com

git clone https://github.com/elizaos/eliza.git
Cloning into 'eliza'...
remote: Enumerating objects: 62388, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 62388 (delta 4), reused 9 (delta 2), pack-reused 62364 (from 1)
Receiving objects: 100% (62388/62388), 98.58 MiB | 6.22 MiB/s, done.
Resolving deltas: 100% (40566/40566), done.
Updating files: 100% (1742/1742), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

'packages/plugin-story/README.MD'
'packages/plugin-story/Readme.md'

git checkout $(git describe --tags --abbrev=0)
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

cp .env.example .env
cp: cannot stat '.env.example': No such file or directory

pnpm i && pnpm build && pnpm start
Already up to date

╭──────────────────────────────────────────────────────────────────╮
│ │
│ Update available! 9.15.2 → 9.15.3. │
│ Changelog: https://github.com/pnpm/pnpm/releases/tag/v9.15.3
│ Run "pnpm self-update" to update. │
│ │
╰──────────────────────────────────────────────────────────────────╯

Done in 241ms
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "build" not found

pnpm self-update
.../pnpm/.tools/@pnpm+linux-x64/9.15.3 | Progress: resolved 1, reused 0, down.../pnpm/.tools/@pnpm+linux-x64/9.15.3 | +1 +
.../pnpm/.tools/@pnpm+linux-x64/9.15.3 | Progress: resolved 1, reused 0, downDownloading @pnpm/linux-x64@9.15.3: 26.21 MB/26.21 MB, done
.../pnpm/.tools/@pnpm+linux-x64/9.15.3 | Progress: resolved 1, reused 0, down.../pnpm/.tools/@pnpm+linux-x64/9.15.3 | Progress: resolved 1, reused 0, down.../pnpm/.tools/@pnpm+linux-x64/9.15.3 | Progress: resolved 1, reused 0, downloaded 1, added 1, done

pnpm start:client
 ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "start:client" not found

Expected behavior
Run Eliza

Screenshots

Additional context
Thanks for your help

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

github-actions bot commented Jan 6, 2025

Hello @newbx0! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!

@AIFlowML AIFlowML added Need Feedback and removed bug Something isn't working labels Jan 6, 2025
@AIFlowML
Copy link
Collaborator

AIFlowML commented Jan 6, 2025

Hello @newbx0 we need more info from you.
What platform, what version are you running ?
I wait for yur feeback.

@JoeyKhd
Copy link

JoeyKhd commented Jan 6, 2025

Hey @newbx0 it looks like you missed the cd eliza-starter command.

Therefore the cp command and git checkout failed since you were not actually in the repository.

If this resolves your issue please close this issue, thanks.

@newbx0
Copy link
Author

newbx0 commented Jan 6, 2025

Hi both, thanks for your help.

@JoeyKhd , I put in the command and this is what it shows:
cd eliza-starter
-bash: cd: eliza-starter: No such file or directory

@AIFlowML , Im quite new to this and not sure.. can you tell me how I would check the platform and version

Thanks

@JoeyKhd
Copy link

JoeyKhd commented Jan 6, 2025

Hi again @newbx0,

The issue you are having is not related to Eliza itself but rather the lack of Linux related knowledge from your end.
Feel free to join us on Discord https://discord.gg/elizaOS so we can help you out in a better way instead of keeping this issue open.

@newbx0
Copy link
Author

newbx0 commented Jan 6, 2025

@JoeyKhd youre probaly right, will definitely check out the Discord, thanks.

Before I close, I got some of it working, can you have a look at this as well:

cd eliza-starter
git checkout $(git describe --tags --abbrev=0)
fatal: No names found, cannot describe anything.
Your branch is up to date with 'origin/main'.
cp .env.example .env
pnpm i && pnpm build && pnpm start
 WARN  19 deprecated subdependencies found: @cliqz/adblocker-content@1.34.0, @cliqz/adblocker-extended-selectors@1.34.0, @cliqz/adblocker-playwright@1.34.0, @cliqz/adblocker@1.34.0, @discordjs/voice@0.17.0, are-we-there-yet@2.0.0, are-we-there-yet@3.0.1, bin-version-check@6.0.0, gauge@3.0.2, gauge@4.0.4, glob@7.2.3, har-validator@5.1.5, inflight@1.0.6, npmlog@5.0.1, npmlog@6.0.2, puppeteer@19.11.1, request@2.88.2, rimraf@3.0.2, uuid@3.4.0
Packages: +1340
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1436, reused 1317, downloaded 24, added 53, done
node_modules/.pnpm/ffmpeg-static@5.2.0/node_modules/ffmpeg-static: Running install script...
node_modules/.pnpm/onnxruntime-node@1.20.0/node_modules/onnxruntime-node: Running postinstall script...
node_modules/.pnpm/ffmpeg-static@5.2.0/node_modules/ffmpeg-static: Running install script, done in 4s/sharp@0.33.5/node_modules/sharp: Running install script...
node_modules/.pnpm/onnxruntime-node@1.20.0/node_modules/onnxruntime-node: Running postinstall script, done in 5.1s/node_modules/sharp: Running install script, done in 3.6s in 2.1s
node_modules/.pnpm/node-llama-cpp@3.1.1_typescript@5.6.3/node_modules/node-llama-cpp: Running postinstall script...
node_modules/.pnpm/canvas@2.11.2/node_modules/canvas: Running install script, failed in 22.8s (skipped as optional)f7d5f9fb02/node_modules/@discordjs/opus: Running install script...
node_modules/.pnpm/esbuild@0.21.5/node_modules/esbuild: Running postinstall script.node_modules/.pnpm/@discordjs+opus@https+++codeload.github.com+discordjs+opus+tar.gz+31da49d8d2cc6c5a2ab1bfd332033ff7d5f9fb02/node_modules/@discordjs/opus: Running install script, failed in 17.7s
.../node_modules/@discordjs/opus install$ node-pre-gyp install --fallback-to-bui…
│ node-pre-gyp info it worked if it ends with ok
│ node-pre-gyp info using node-pre-gyp@0.4.5
│ node-pre-gyp info using node@23.5.0 | linux | x64
│ (node:2279) [DEP0040] DeprecationWarning: The punycode module is deprecated.…
│ (Use node --trace-deprecation ... to show where the warning was created)
│ node-pre-gyp info check checked for "/mnt/c/Users/fruip/eliza-starter/node_mod…
│ node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.9…
│ node-pre-gyp ERR! install response status 404 Not Found on https://github.com/…
│ node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.9.0…
│ node-pre-gyp WARN Hit error response status 404 Not Found on https://github.co…
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@11.0.0
│ gyp info using node@23.5.0 | linux | x64
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@11.0.0
│ gyp info using node@23.5.0 | linux | x64
│ gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
│ gyp info spawn /usr/bin/python3
│ gyp info spawn args [
│ gyp info spawn args '/home/ffruipi/.nvm/versions/node/v23.5.0/lib/node_modules…
│ gyp info spawn args 'binding.gyp',
│ gyp info spawn args '-f',
│ gyp info spawn args 'make',
│ gyp info spawn args '-I',
│ gyp info spawn args '/mnt/c/Users/fruip/eliza-starter/node_modules/.pnpm/@disc
│ gyp info spawn args '-I',
│ gyp info spawn args '/home/ffruipi/.nvm/versions/node/v23.5.0/lib/node_modules…
│ gyp info spawn args '-I',
│ gyp info spawn args '/home/ffruipi/.cache/node-gyp/23.5.0/include/node/common.…
│ gyp info spawn args '-Dlibrary=shared_library',
│ gyp info spawn args '-Dvisibility=default',
│ gyp info spawn args '-Dnode_root_dir=/home/ffruipi/.cache/node-gyp/23.5.0',
│ gyp info spawn args '-Dnode_gyp_dir=/home/ffruipi/.nvm/versions/node/v23.5.0/l…
│ gyp info spawn args '-Dnode_lib_file=/home/ffruipi/.cache/node-gyp/23.5.0/<(ta…
│ gyp info spawn args '-Dmodule_root_dir=/mnt/c/Users/fruip/eliza-starter/node_m…
│ gyp info spawn args '-Dnode_engine=v8',
│ gyp info spawn args '--depth=.',
│ gyp info spawn args '--no-parallel',
│ gyp info spawn args '--generator-output',
│ gyp info spawn args 'build',
│ gyp info spawn args '-Goutput_dir=.'
│ gyp info spawn args ]
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@11.0.0
│ gyp info using node@23.5.0 | linux | x64
│ gyp ERR! build error
│ gyp ERR! stack Error: not found: make
│ gyp ERR! stack at getNotFoundError (/home/ffruipi/.nvm/versions/node/v23.5.0/l…
│ gyp ERR! stack at which (/home/ffruipi/.nvm/versions/node/v23.5.0/lib/node_mod…
│ gyp ERR! stack at async doWhich (/home/ffruipi/.nvm/versions/node/v23.5.0/lib/…
│ gyp ERR! stack at async loadConfigGypi (/home/ffruipi/.nvm/versions/node/v23.5…
│ gyp ERR! stack at async build (/home/ffruipi/.nvm/versions/node/v23.5.0/lib/no…
│ gyp ERR! stack at async run (/home/ffruipi/.nvm/versions/node/v23.5.0/lib/node…
│ gyp ERR! System Linux 5.15.167.4-microsoft-standard-WSL2
│ gyp ERR! command "/home/ffruipi/.nvm/versions/node/v23.5.0/bin/node" "/home/ff…
│ gyp ERR! cwd /mnt/c/Users/fruip/eliza-starter/node_modules/.pnpm/@discordjs+op…
│ gyp ERR! node -v v23.5.0
│ gyp ERR! node-gyp -v v11.0.0
│ gyp ERR! not ok
│ node-pre-gyp ERR! build error
│ node-pre-gyp ERR! stack Error: Failed to execute '/home/ffruipi/.nvm/versions/…
│ node-pre-gyp ERR! stack at ChildProcess. (/mnt/c/Users/fruip/el…
│ node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
│ node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1101:16)
│ node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/chil…
│ node-pre-gyp ERR! System Linux 5.15.167.4-microsoft-standard-WSL2
│ node-pre-gyp ERR! command "/home/ffruipi/.nvm/versions/node/v23.5.0/bin/node" …
│ node-pre-gyp ERR! cwd /mnt/c/Users/fruip/eliza-starter/node_modules/.pnpm/@dis
│ node-pre-gyp ERR! node -v v23.5.0
│ node-pre-gyp ERR! node-pre-gyp -v v0.4.5
│ node-pre-gyp ERR! not ok
│ Failed to execute '/home/ffruipi/.nvm/versions/node/v23.5.0/bin/node /home/ffr…
└─ Failed in 17.7s at /mnt/c/Users/fruip/eliza-starter/node_modules/.pnpm/@discordjs+opus@https+++codeload.github.com+discordjs+opus+tar.gz+31da49d8d2cc6c5a2ab1bfd332033ff7d5f9fb02/node_modules/@discordjs/opus
node_modules/.pnpm/esbuild@0.21.5/node_modules/esbuild: Running postinstall script, done in 1.4s
 ELIFECYCLE  Command failed with exit code 1.

@newbx0 newbx0 closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants