After installing deno and porter for the first time, I ran porter serve --config ~/.porter/config.json It failed with the following message:
$ porter serve --config ~/.porter/config.json
[porter] Starting Porter Platform (dynamic session mode)
error: Uncaught (in promise) TypeError: Import "@std/path" not a dependency
hint: If you want to use the JSR package, try running `deno add jsr:@std/path`
at file:///home/thsimmon.rsync/source/forks/porter/src/orchestration/message_store.ts:8:25
const { SessionManager } = await import("../orchestration/session_manager.ts");
^
at async cmdServe (file:///home/thsimmon.rsync/source/forks/porter/src/cli/serve.ts:22:30)
at async main (file:///home/thsimmon.rsync/source/forks/porter/cli.ts:125:7)
at async file:///home/thsimmon.rsync/source/forks/porter/cli.ts:166:3
When I instead run deno run --allow-all cli.ts serve --config ~/.porter/config.json, everything works as expected. The bin installed by deno doesn't appear to understand the deno.json aliases.
After installing deno and porter for the first time, I ran
porter serve --config ~/.porter/config.jsonIt failed with the following message:When I instead run
deno run --allow-all cli.ts serve --config ~/.porter/config.json, everything works as expected. The bin installed by deno doesn't appear to understand thedeno.jsonaliases.