Installing node and npm as attendee of AI Agent Dev School #1518
Unanswered
Johnwbusch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my first time to use Terminal in about 30 years. Can someone please watch this Loom video of me doing it and let me know if I did it correctly?
Please confirm if you can take the time and have the patience to watch the short Loom video, read the text below and/or ask me to reply with more data from Terminal.
https://www.loom.com/share/f7f38c3981534f97bd5187d1dc488ad1?sid=7660253a-66b2-414e-9674-e635e778efaa
I then ran these 2 commands.
johnbusch@MacBook-Pro-4 eliza % nvm install 23
Downloading and installing node v23.5.0...
Downloading https://nodejs.org/dist/v23.5.0/node-v23.5.0-darwin-arm64.tar.xz...
################################################################################# 100.0%
Computing checksum with shasum -a 256
Checksums matched!
Now using node v23.5.0 (npm v10.9.2)
Creating default alias: default -> 23 (-> v23.5.0)
johnbusch@MacBook-Pro-4 eliza % nvm use 23
Now using node v23.5.0 (npm v10.9.2)
johnbusch@MacBook-Pro-4 eliza % ;2A
The OBS screen capture was frozen as Shaw was walking attendees thru 1) where to find and how to install pnpm and then where to find and how to install the eliza starter kit. I got resourceful and looked at Shaw's laptop screen to see what repo he was using and then dug around github and found this page https://github.com/elizaOS/eliza/blob/main/README.md
Below is the data from Terminal, so it looks like I installed pnpm correctly, right?
johnbusch@MacBook-Pro-4 eliza % ;2Anpm install -g pnpm
zsh: command not found: 2Anpm
johnbusch@MacBook-Pro-4 eliza % curl -fsSL https://get.pnpm.io/install.sh | sh -
==> Downloading pnpm binaries 9.15.1
WARN using --force I sure hope you know what you are doing
Copying pnpm CLI from /private/var/folders/vv/gvn09y5s6zv1y1k1s2k_pz3h0000gn/T/tmp.lhxBqLaBYN/pnpm to /Users/johnbusch/Library/pnpm/pnpm
Created /Users/johnbusch/.zshrc
Next configuration changes were made:
export PNPM_HOME="/Users/johnbusch/Library/pnpm"
case ":$PATH:" in
":$PNPM_HOME:") ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
To start using pnpm, run:
source /Users/johnbusch/.zshrc
johnbusch@MacBook-Pro-4 eliza %
Then here is when I ran the command to load the eliza starter kit
johnbusch@MacBook-Pro-4 eliza % git clone https://github.com/elizaos/eliza-starter.git
cd eliza-starter
cp .env.example .env
pnpm i && pnpm build && pnpm start
Cloning into 'eliza-starter'...
remote: Enumerating objects: 50, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 50 (delta 13), reused 6 (delta 6), pack-reused 23 (from 1)
Receiving objects: 100% (50/50), 158.43 KiB | 1.45 MiB/s, done.
Resolving deltas: 100% (15/15), done.
zsh: command not found: pnpm
This line "zsh: command not found: pnpm" let me know I missed something, so I ran this command
source /Users/johnbusch/.zshrc
Then I once again ran the command to load the eliza starter kit and VIOLA!!!
johnbusch@MacBook-Pro-4 eliza-starter % git clone https://github.com/elizaos/eliza-starter.git
cd eliza-starter
cp .env.example .env
pnpm i && pnpm build && pnpm start
Cloning into 'eliza-starter'...
remote: Enumerating objects: 50, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 50 (delta 13), reused 6 (delta 6), pack-reused 23 (from 1)
Receiving objects: 100% (50/50), 158.43 KiB | 1.52 MiB/s, done.
Resolving deltas: 100% (15/15), done.
Packages are cloned from the content-addressable store to the virtual store.
Content-addressable store is at: /Users/johnbusch/Library/pnpm/store/v3
Virtual store is at: node_modules/.pnpm
Downloading [email protected]: 10.60 MB/10.60 MB, done
Downloading [email protected]: 9.19 MB/9.19 MB, done
Downloading @huggingface/[email protected]: 8.77 MB/8.77 MB, done
Downloading [email protected]: 10.91 MB/10.91 MB, done
Downloading [email protected]: 10.21 MB/10.21 MB, done
Downloading @echogarden/[email protected]: 12.53 MB/12.53 MB, done
Downloading [email protected]: 7.83 MB/7.83 MB, done
Downloading [email protected]: 10.24 MB/10.24 MB, done
Downloading [email protected]: 18.16 MB/18.16 MB, done
Downloading [email protected]: 21.83 MB/21.83 MB, done
Downloading @echogarden/[email protected]: 14.52 MB/14.52 MB, done
Downloading @img/[email protected]: 7.10 MB/7.10 MB, done
Downloading [email protected]: 10.61 MB/10.61 MB, done
Downloading @echogarden/[email protected]: 12.53 MB/12.53 MB, done
Downloading [email protected]: 20.46 MB/20.46 MB, done
Downloading [email protected]: 70.00 MB/70.00 MB, done
WARN 19 deprecated subdependencies found: @cliqz/[email protected], @cliqz/[email protected], @cliqz/[email protected], @cliqz/[email protected], @discordjs/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Packages: +1334
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1436, reused 0, downloaded 1335, added 1334, done
node_modules/.pnpm/[email protected]/node_modules/ffmpeg-static: Running install script...
node_modules/.pnpm/[email protected]/node_modules/utf-8-validate: Running install script...
node_modules/.pnpm/[email protected]/node_modules/utf-8-validate: Running install script, done in 1spm/[email protected]/node_modules/esbuild: Running postinstall script, done
in 823msles/.pnpm/[email protected]/node_modules/bufferutil: Running install script...
node_modules/.pnpm/[email protected]/node_modules/better-sqlite3: Running install script...
node_modules/.pnpm/[email protected]/node_modules/bufferutil: Running install script, done in 1.3sles/.pnpm/[email protected]/node_modules/onnxruntime-node: Running postin
stall script, done in 64ms
node_modules/.pnpm/[email protected]/node_modules/sharp: Running install script...
node_modules/.pnpm/[email protected]/node_modules/sharp: Running install script, done in 285mscript...
node_modules/.pnpm/[email protected]/node_modules/es5-ext: Running postinstall script, donnode_modules/.pnpm/[email protected]/node_modules/canvas: Running install script, failed in 5s (skipped as optional)[email protected][email protected]/node_modules/node-llama-cpp: Ru
node_modules/.pnpm/[email protected]/node_modules/better-sqlite3: Running install script, done in 2.4s/[email protected]/node_modules/protobufjs: Running postinstall script.
node_modules/.pnpm/[email protected]/node_modules/protobufjs: Running postinstall script, done in 40ms
node_modules/.pnpm/[email protected][email protected]/node_modules/node-llama-cpp: Running postinstall script, done in 945msode_modules/@discordjs/opus: Running install scri
pt...
node_modules/.pnpm/[email protected]/node_modules/bigint-buffer: Running install scripnode_modules/.pnpm/@discordjs+opus@https+++codeload.github.com+discordjs+opus+tar.gz+31da49d8d2cc6c5a2ab1bfd332033ff7d5f9fb02/node_modules/@discordjs/opus: Running install script, done in 24.1s
node_modules/.pnpm/[email protected][email protected]_typescript@[email protected]_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/puppeteer: Running postinstall script, done in 13.4s
node_modules/.pnpm/[email protected]/node_modules/youtube-dl-exec: Running preinstanode_modules/.pnpm/[email protected]/node_modules/youtube-dl-exec: Running preinstall script, done in 102ms
node_modules/.pnpm/[email protected]/node_modules/youtube-dl-exec: Running postinstnode_modules/.pnpm/[email protected]/node_modules/youtube-dl-exec: Running postinstall script, done in 1.8s
node_modules/.pnpm/@ai16z+plugin-node@0.1.4-alpha.3_@google-cloud+vertexai@1.9.0_@langchain+core@0.3.26_openai@4_hwf72ysvohpuphdv3yixzknu2u/node_modules/@ai16z/plugin-node: Runnode_modules/.pnpm/@ai16z+plugin-node@0.1.4-alpha.3_@google-cloud+vertexai@1.9.0_@langchain+core@0.3.26_openai@4_hwf72ysvohpuphdv3yixzknu2u/node_modules/@ai16z/plugin-node: Running postinstall script, done in 41.2s
dependencies:
devDependencies:
WARN Issues with peer dependencies found
.
├─┬ @ai16z/adapter-postgres 0.1.4-alpha.3
│ └─┬ @ai16z/eliza 0.1.4-alpha.3
│ └─┬ @ai16z/adapter-sqlite 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/eliza 0.1.4-alpha.3
│ ├─┬ @ai16z/adapter-sqlite 0.1.4-alpha.3
│ │ └── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/adapter-sqljs 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/eliza 0.1.4-alpha.3
│ └─┬ @ai16z/adapter-supabase 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/client-auto 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ ├─┬ @ai16z/plugin-solana 0.1.4-alpha.3
│ │ ├── ✕ unmet peer [email protected]: found 14.1.0
│ │ └─┬ @ai16z/plugin-trustdb 0.1.4-alpha.3
│ │ └── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/plugin-image-generation 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/client-direct 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/client-discord 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/plugin-node 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/client-twitter 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/plugin-bootstrap 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
└─┬ @ai16z/plugin-starknet 0.1.4-alpha.3
└── ✕ unmet peer [email protected]: found 14.1.0
Done in 2m 11.9s
No input files, try "tsup " instead
ELIFECYCLE Command failed with exit code 1.
johnbusch@MacBook-Pro-4 eliza-starter %
Then I ran the command to install sharp
johnbusch@MacBook-Pro-4 eliza-starter % pnpm install --include=optional sharp
WARN 19 deprecated subdependencies found: @cliqz/[email protected], @cliqz/[email protected], @cliqz/[email protected], @cliqz/[email protected], @discordjs/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Packages: +1
+
Progress: resolved 1437, reused 1335, downloaded 1, added 1, done
dependencies:
WARN Issues with peer dependencies found
.
├─┬ @ai16z/adapter-postgres 0.1.4-alpha.3
│ └─┬ @ai16z/eliza 0.1.4-alpha.3
│ └─┬ @ai16z/adapter-sqlite 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/eliza 0.1.4-alpha.3
│ ├─┬ @ai16z/adapter-sqlite 0.1.4-alpha.3
│ │ └── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/adapter-sqljs 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/eliza 0.1.4-alpha.3
│ └─┬ @ai16z/adapter-supabase 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/client-auto 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ ├─┬ @ai16z/plugin-image-generation 0.1.4-alpha.3
│ │ └── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/plugin-solana 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/plugin-trustdb 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/client-direct 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/client-discord 0.1.4-alpha.3
│ ├── ✕ unmet peer [email protected]: found 14.1.0
│ └─┬ @ai16z/plugin-node 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/client-twitter 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
├─┬ @ai16z/plugin-bootstrap 0.1.4-alpha.3
│ └── ✕ unmet peer [email protected]: found 14.1.0
└─┬ @ai16z/plugin-starknet 0.1.4-alpha.3
└── ✕ unmet peer [email protected]: found 14.1.0
Done in 3.1s
johnbusch@MacBook-Pro-4 eliza-starter %
Then I paused the video to see the command Shaw typed in and I ran that command, which was the pnpm command he ran before.
curl -fsSL https://get.pnpm.io/install.sh | sh -
==> Downloading pnpm binaries 9.15.1
WARN using --force I sure hope you know what you are doing
Copying pnpm CLI from /private/var/folders/vv/gvn09y5s6zv1y1k1s2k_pz3h0000gn/T/tmp.l5xdRnNjhh/pnpm to /Users/johnbusch/Library/pnpm/pnpm
No changes to the environment were made. Everything is already up to date.
johnbusch@MacBook-Pro-4 eliza-starter %
Beta Was this translation helpful? Give feedback.
All reactions