8000 Pino pretty dependency error when importing getTracer method · Issue #671 · lmnr-ai/lmnr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Pino pretty dependency error when importing getTracer method #671
Open
@stephanepericat

Description

@stephanepericat

Hello,

I am trying to follow the basic tutorial for TypeScript / Node.js found here: https://docs.lmnr.ai/tracing/quickstart

But when importing the getTracer() method in my api route, I get the following error:

 ERROR  [uncaughtException] (0 , import_pino_pretty.default) is not a function

    at initializeLogger (node_modules/.pnpm/@lmnr-ai+lmnr@0.6.12/node_modules/@lmnr-ai/lmnr/dist/index.js:107:65)
    at <anonymous> (node_modules/.pnpm/@lmnr-ai+lmnr@0.6.12/node_modules/@lmnr-ai/lmnr/dist/index.js:112:14)
    at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:122:5)
  • Operating System: Darwin
  • Node Version: v20.18.3
  • Package Manager: pnpm@10.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0