EDIT: Solved the original problem via npm install -g pino-pretty but still unable to connect to Claude Code via this. Claude just keeps saying unable to connect. using codex with the same azure openai endpoints work (without lynkr)
/home/x/.nvm/versions/node/v20.16.0/lib/node_modules/lynkr/node_modules/pino/lib/transport.js:146
throw new Error(`unable to determine transport target for "${origin}"`)
^
Error: unable to determine transport target for "pino-pretty"
at fixTarget (/home/x/.nvm/versions/node/v20.16.0/lib/node_modules/lynkr/node_modules/pino/lib/transport.js:146:13)
at transport (/home/x/.nvm/versions/node/v20.16.0/lib/node_modules/lynkr/node_modules/pino/lib/transport.js:116:22)
at normalizeArgs (/home/x/.nvm/versions/node/v20.16.0/lib/node_modules/lynkr/node_modules/pino/lib/tools.js:316:16)
at pino (/home/x/.nvm/versions/node/v20.16.0/lib/node_modules/lynkr/node_modules/pino/pino.js:90:28)
at Object.<anonymous> (/home/x/.nvm/versions/node/v20.16.0/lib/node_modules/lynkr/src/logger/index.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Module.require (node:internal/modules/cjs/loader:1233:19)
Followed the instructions and have set the below as per docs, but it doesnt work with the above error.
MODEL_PROVIDER=azure-openai
AZURE_OPENAI_ENDPOINT=redacted
AZURE_OPENAI_API_KEY=redacted
AZURE_OPENAI_DEPLOYMENT=gpt-4o
EDIT: Solved the original problem via
npm install -g pino-prettybut still unable to connect to Claude Code via this. Claude just keeps saying unable to connect. using codex with the same azure openai endpoints work (without lynkr)Followed the instructions and have set the below as per docs, but it doesnt work with the above error.