Skip to content

Commit

Permalink
fix(baggage-span-processor): cannot find module (#2260)
Browse files Browse the repository at this point in the history
Fixes the following error:
```
Error: Cannot find module '/Users/long/Repos/wise-rock/node_modules/@opentelemetry/baggage-span-processor/build/src/index.ts'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:415:19)
...
```
  • Loading branch information
longility authored Jun 6, 2024
1 parent 0af1b70 commit 6721bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/baggage-span-processor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@opentelemetry/baggage-span-processor",
"version": "0.3.0",
"description": "OpenTelemetry Baggage Span Processor for Node.js",
"main": "build/src/index.ts",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js-contrib",
"scripts": {
Expand Down

0 comments on commit 6721bdd

Please sign in to comment.