Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

"grpc" was loaded before the trace agent was initialized. #355

@melalj

Description

@melalj

I keep getting this error when I start my app.

ERROR:@google/cloud-trace: grpc tracing might not work as /MY_APP/node_modules/@google/cloud-trace/node_modules/@google-cloud/common/node_modules/grpc/src/node/index.js was loaded before the trace agent was initialized.

Which actually doesn't really make sense since grpc is part of the trace module... and it says that it wasn't loaded? 🤔

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: cloudtraceIssues related to the googleapis/cloud-trace-nodejs API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions