Hello,
Trying to migrate a project from 2.4 but there are errors which cause components to not compile (and no relevant message either).
To reproduce:
Add these imports in package.json and run npm install
“@opentelemetry/api”: “^1.0.2”,
“@opentelemetry/exporter-trace-otlp-http”: “^0.27.0”,
“@opentelemetry/exporter-zipkin”: “^1.0.1”,
“@opentelemetry/resources”: “0.25.0”,
“@opentelemetry/sdk-trace-base”: “0.25.0”,
“@opentelemetry/semantic-conventions”: “0.25.0”,
Then create a new empty component and simply import this
import { BasicTracerProvider, SimpleSpanProcessor, Tracer } from ‘@opentelemetry/sdk-trace-base’;
Now the component cannot be compiled and there is no relevant error message to identify the issue
Also trying to import scripts such as 密码学 14 CryptoJS - SegmentFault 思否 will cause the same error.
These are working fine in 2.4
