Can you advise me how to setup the node environment with pnpm here, then run the server connecting to the minecraft server
Can you advise me how to setup the node environment with pnpm here, then run the server connecting to the minecraft server
Can you advise me how to setup the node environment with pnpm here, then run the server connecting to the minecraft server
total 244
drwxrwxr-x 1 jm jm 566 Feb 23 17:36 .
drwxr-xr-x 3 jm jm 60 Feb 23 17:38 ..
-rw-rw-r-- 1 jm jm 46 Feb 15 04:19 .dockerignore
drwxrwxr-x 1 jm jm 138 Feb 23 17:36 .git
-rw-rw-r-- 1 jm jm 632 Feb 15 04:19 .gitignore
-rw-rw-r-- 1 jm jm 592 Feb 15 04:19 Dockerfile
-rw-rw-r-- 1 jm jm 2759 Feb 15 04:19 FAQ.md
-rw-rw-r-- 1 jm jm 1073 Feb 15 04:19 LICENSE
-rw-rw-r-- 1 jm jm 13099 Feb 15 04:19 README.md
-rw-rw-r-- 1 jm jm 1345 Feb 15 04:19 Tasks.Dockerfile
-rw-rw-r-- 1 jm jm 230 Feb 23 17:30 andy.json
drwxrwxr-x 1 jm jm 68 Feb 23 17:31 bots
-rw-rw-r-- 1 jm jm 787 Feb 15 04:19 docker-compose.yml
-rw-rw-r-- 1 jm jm 1244 Feb 15 04:19 eslint.config.js
-rw-rw-r-- 1 jm jm 464 Feb 15 04:19 keys.example.json
-rw-rw-r-- 1 jm jm 470 Feb 15 04:27 keys.json
-rw-rw-r-- 1 jm jm 2161 Feb 15 04:19 main.js
-rw-rw-r-- 1 jm jm 14909 Feb 15 04:19 minecollab.md
drwxrwxr-x 1 jm jm 924 Feb 23 17:36 node_modules
-rw-rw-r-- 1 jm jm 1534 Feb 23 17:35 package.json
drwxrwxr-x 1 jm jm 320 Feb 15 04:19 patches
-rw-rw-r-- 1 jm jm 148040 Feb 23 17:35 pnpm-lock.yaml
-rw-rw-r-- 1 jm jm 83 Feb 23 17:36 pnpm-workspace.yaml
drwxrwxr-x 1 jm jm 380 Feb 15 04:19 profiles
-rw-rw-r-- 1 jm jm 104 Feb 15 04:19 requirements.txt
drwxrwxr-x 1 jm jm 16 Feb 15 04:19 services
-rw-rw-r-- 1 jm jm 3479 Feb 23 17:27 settings.js
drwxrwxr-x 1 jm jm 88 Feb 15 04:19 src
drwxrwxr-x 1 jm jm 762 Feb 15 04:19 tasks
<path>/home/jm/data/ai/mindcraft/package.json</path>
<type>file</type>
<content>1: {
2: "name": "mindcraft",
3: "type": "module",
4: "dependencies": {
5: "@anthropic-ai/sdk": "^0.17.1",
6: "@cerebras/cerebras_cloud_sdk": "^1.46.0",
7: "@google/genai": "^1.15.0",
8: "@huggingface/inference": "^2.8.1",
9: "@mistralai/mistralai": "^1.1.0",
10: "canvas": "^3.1.0",
11: "cheerio": "^1.0.0",
12: "express": "^4.18.2",
13: "google-translate-api-x": "^10.7.1",
14: "groq-sdk": "^0.15.0",
15: "mindcraft": "link:",
16: "minecraft-data": "^3.97.0",
17: "mineflayer": "^4.33.0",
18: "mineflayer-armor-manager": "^2.0.1",
19: "mineflayer-auto-eat": "^3.3.6",
20: "mineflayer-collectblock": "^1.4.1",
21: "mineflayer-pathfinder": "^2.4.5",
22: "mineflayer-pvp": "^1.3.2",
23: "node-canvas-webgl": "^0.3.0",
24: "open": "^10.2.0",
25: "openai": "^4.4.0",
26: "prismarine-item": "^1.15.0",
27: "prismarine-viewer": "^1.32.0",
28: "replicate": "^0.29.4",
29: "ses": "^1.9.1",
30: "socket.io": "^4.7.2",
31: "socket.io-client": "^4.7.2",
32: "three": "^0.128.0",
33: "vec3": "^0.1.10",
34: "yargs": "^17.7.2"
35: },
36: "overrides": {
37: "canvas": "^3.1.0",
38: "gl": "^8.1.6"
39: },
40: "scripts": {
41: "postinstall": "patch-package",
42: "start": "node main.js"
43: },
44: "devDependencies": {
45: "@eslint/js": "^9.13.0",
46: "eslint": "^9.13.0",
47: "eslint-plugin-no-floating-promise": "^2.0.0",
48: "globals": "^15.11.0",
49: "patch-package": "^8.0.0"
50: }
51: }
52:
(End of file - total 52 lines)
</content><path>/home/jm/data/ai/mindcraft/README.md</path>
<type>file</type>
<content>1: <h1 align="center">🧠mindcraft⛏️</h1>
2: <h1 align="center">
3: <a href="https://trendshift.io/repositories/9163" target="_blank"><img src="https://trendshift.io/api/badge/repositories/9163" alt="kolbytn%2Fmindcraft | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
4: </h1>
5:
6: <p align="center">Crafting minds for Minecraft with LLMs and <a href="https://prismarinejs.github.io/mineflayer/#/">Mineflayer!</a></p>
7:
8: <p align="center">
9: <a href="https://github.com/mindcraft-bots/mindcraft/blob/main/FAQ.md">FAQ</a> |
10: <a href="https://discord.gg/mp73p35dzC">Discord Support</a> |
11: <a href="https://www.youtube.com/watch?v=gRotoL8P8D8">Video Tutorial</a> |
12: <a href="https://kolbynottingham.com/mindcraft/">Blog Post</a> |
13: <a href="https://github.com/users/kolbytn/projects/1">Contributor TODO</a> |
14: <a href="https://mindcraft-minecollab.github.io/index.html">Paper Website</a> |
15: <a href="https://github.com/mindcraft-bots/mindcraft/blob/main/minecollab.md">MineCollab</a>
16: </p>
17:
18: > [!Caution]
19: Do not connect this bot to public servers with coding enabled. This project allows an LLM to write/execute code on your computer. The code is sandboxed, but still vulnerable to injection attacks. Code writing is disabled by default, you can enable it by setting `allow_insecure_coding` to `true` in `settings.js`. Ye be warned.
20:
21: # Getting Started
22: ## Requirements
23:
24: - [Minecraft Java Edition](https://www.minecraft.net/en-us/store/minecraft-java-bedrock-edition-pc) (up to v1.21.6, recommend v1.21.6)
25: - [Node.js Installed](https://nodejs.org/) (Node v18 or v20 LTS recommended. Node v24+ may cause issues with native dependencies)
26: - At least one API key from a supported API provider. See [supported APIs](#model-customization). OpenAI is the default.
27:
28: > [!Important]
29: > If installing node on...All 3 tools executed successfully.
Keep using the batch tool for optimal performance in your next response!<path>/home/jm/data/ai/mindcraft/pnpm-workspace.yaml</path>
<type>file</type>
<content>1: ignoredBuiltDependencies:
2: - canvas
3: - gl
4:
5: onlyBuiltDependencies:
6: - protobufjs
7:
(End of file - total 7 lines)
</content>/usr/bin/bash: line 1: pnpm: command not found
/usr/bin/bash: line 1: npx: command not found
/usr/bin/bash: line 1: node: command not found