-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree shaking tests fail if ESM build not yet completed #3398
Comments
This can happen if the ESM version of the API package is not generated. You have to run |
I see that you actually did run |
Yeah, this requires the ESM targets are generated with |
Submitted #3432 to solve this problem. Please have a try on your local environments, thanks! :) |
What happened?
Steps to Reproduce
Using Node 18.12.1 (latest) and npm 8.19.2
git clone https://github.com/open-telemetry/opentelemetry-js.git
cd opentelemetry-js
npm install
npm run compile
NODE_OPTIONS=--openssl-legacy-provider npm run test
Expected Result
Tests passing, as they do in CI.
Actual Result
@opentelemetry/api
tree-shaking tests fail (see "Relevant log output below")Additional Details
Also failing on Node 16.
OpenTelemetry Setup Code
package.json
n/a
Relevant log output
The text was updated successfully, but these errors were encountered: