Skip to content

Commit 18347ce

Browse files
author
mike dupont
committed
now this might work
1 parent fb07ce7 commit 18347ce

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

notes.org

+38
Original file line numberDiff line numberDiff line change
@@ -4282,3 +4282,41 @@ mount /node_modules/tokenizers/ from 767503528736.dkr.ecr.us-east-2.amazonaws.co
42824282
148 ls /var/lib/docker/volumes/tokenizer/_data
42834283
149 history
42844284
]0;root@ip-10-0-4-156: /opt/agentroot@ip-10-0-4-156:/opt/agent#
4285+
4286+
4287+
4288+
* try again
4289+
4290+
]0;root@ip-10-0-4-156: /opt/agentroot@ip-10-0-4-156:/opt/agent# grep anush strace.log | grep node_modules
4291+
grep anush strace.log | grep node_modules
4292+
151 openat(AT_FDCWD, "/app/node_modules/fastembed/node_modules/@anush008/tokenizers/package.json", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
4293+
151 statx(AT_FDCWD, "/app/node_modules/fastembed/node_modules/@anush008/tokenizers", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe9032ac0) = -1 ENOENT (No such file or directory)
4294+
151 statx(AT_FDCWD, "/app/node_modules/fastembed/node_modules/@anush008/tokenizers.js", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4295+
151 statx(AT_FDCWD, "/app/node_modules/fastembed/node_modules/@anush008/tokenizers.json", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4296+
151 statx(AT_FDCWD, "/app/node_modules/fastembed/node_modules/@anush008/tokenizers.node", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4297+
151 statx(AT_FDCWD, "/app/node_modules/fastembed/node_modules/@anush008/tokenizers.handlebars", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4298+
151 statx(AT_FDCWD, "/app/node_modules/fastembed/node_modules/@anush008/tokenizers.hbs", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4299+
151 openat(AT_FDCWD, , O_RDONLY|O_CLOEXEC) = 22
4300+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
4301+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers.js", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4302+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers.json", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4303+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers.node", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4304+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers.handlebars", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4305+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers.hbs", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe90329c0) = -1 ENOENT (No such file or directory)
4306+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers/index.js", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=11076, ...}) = 0
4307+
151 statx(AT_FDCWD, "/app/node_modules/@anush008", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
4308+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFDIR|0755, stx_size=4096, ...}) = 0
4309+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers/index.js", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=11076, ...}) = 0
4310+
151 openat(AT_FDCWD, "/app/node_modules/@anush008/tokenizers/index.js", O_RDONLY|O_CLOEXEC) = 22
4311+
151 faccessat(AT_FDCWD, "/app/node_modules/@anush008/tokenizers/tokenizers.linux-arm64-gnu.node", F_OK <unfinished ...>
4312+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers/node_modules", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe9032250) = -1 ENOENT (No such file or directory)
4313+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/node_modules", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe9032250) = -1 ENOENT (No such file or directory)
4314+
151 openat(AT_FDCWD, "/app/node_modules/@anush008/tokenizers-linux-arm64-gnu/package.json", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
4315+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers-linux-arm64-gnu", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe9032250) = -1 ENOENT (No such file or directory)
4316+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers-linux-arm64-gnu.js", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe9032150) = -1 ENOENT (No such file or directory)
4317+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers-linux-arm64-gnu.json", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe9032150) = -1 ENOENT (No such file or directory)
4318+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers-linux-arm64-gnu.node", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe9032150) = -1 ENOENT (No such file or directory)
4319+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers-linux-arm64-gnu.handlebars", AT_STATX_SYNC_AS_STAT, STATX_ALL, <unfinished ...>
4320+
151 statx(AT_FDCWD, "/app/node_modules/@anush008/tokenizers-linux-arm64-gnu.hbs", AT_STATX_SYNC_AS_STAT, STATX_ALL, 0xffffe9032150) = -1 ENOENT (No such file or directory)
4321+
151 write(2, "node:internal/modules/cjs/loader:1409\n const err = new Error(message);\n ^\n\nError: Cannot find module '@anush008/tokenizers-linux-arm64-gnu'\nRequire stack:\n- /app/node_modules/@anush008/tokenizers/index.js\n- /app/node_modules/fastembed/lib/cjs/fastembed.js\n- /app/node_modules/fastembed/lib/cjs/index.js\n at Function._resolveFilename (node:internal/modules/cjs/loader:1409:15)\n at defaultResolveImpl (node:internal/modules/cjs/loader:1060:19)\n at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1065:22)\n at Function._load (node:internal/modules/cjs/loader:1214:37)\n at TracingChannel.traceSync (node:diagnostics_channel:322:14)\n at wrapModuleLoad (node:internal/modules/cjs/loader:234:24)\n at Module.require (node:internal/modules/cjs/loader:1495:12)\n at require (node:internal/modules/helpers:135:16)\n at Object.<anonymous> (/app/node_modules/@anush008/tokenizers/index.js:219:31)\n at Module._compile (node:internal/modules/cjs/loader:1739:14) {\n code: 'MODULE_NOT_FOUND',\n requireStack: [\n '/app/node_modules/@anush008/tokenizers/index.js',\n '/app/node_modules/fastembed/lib/cjs/fastembed.js',\n '/app/node_modules/fastembed/lib/cjs/index.js'\n ]\n}\n", 1214 <unfinished ...>
4322+
]0;root@ip-10-0-4-156: /opt/agentroot@ip-10-0-4-156:/opt/agent#

runlocaldocker2.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
docker run -v tokenizer:/node_modules/tokenizers/ 767503528736.dkr.ecr.us-east-2.amazonaws.com/nodemodules/tokenizer:latest
1717

1818
# now bind it in
19-
/usr/bin/docker run -p 3000:3000 -v tokenizer:/app/node_modules/fastembed/node_modules/.pnpm/@anush008+tokenizers@https+++codeload.github.com+meta-introspector+arm64-tokenizers+tar.gz+98_s2457qj3pe4ojcbckddasgzfvu/node_modules/@anush008/ --mount type=bind,source=/opt/agent,target=/opt/agent --env-file /var/run/agent/secrets/env --rm --name "agent-docker.service" --entrypoint /opt/agent/docker-entrypoint-strace2.sh 767503528736.dkr.ecr.us-east-2.amazonaws.com/agent/eliza:feature-arm64_fastembed
19+
/usr/bin/docker run -p 3000:3000 -v tokenizer:/app/node_modules/@anush008/tokenizers/ -v tokenizer:/app/node_modules/fastembed/node_modules/.pnpm/@anush008+tokenizers@https+++codeload.github.com+meta-introspector+arm64-tokenizers+tar.gz+98_s2457qj3pe4ojcbckddasgzfvu/node_modules/@anush008/ --mount type=bind,source=/opt/agent,target=/opt/agent --env-file /var/run/agent/secrets/env --rm --name "agent-docker.service" --entrypoint /opt/agent/docker-entrypoint-strace2.sh 767503528736.dkr.ecr.us-east-2.amazonaws.com/agent/eliza:feature-arm64_fastembed
2020
#100755 >
21+

0 commit comments

Comments
 (0)