https://signoz.io logo
#support
Title
# support
a

abhinav sharma

03/15/2023, 9:54 AM
Hey guys, recently i was installing signoz on one of my nodeJS app and got this error- (Note- The app is running on a graviton server) Any help?
Copy code
node_modules/@opentelemetry/instrumentation-redis/build/src/types.d.ts:8:26 - error TS2694: Namespace '"/home/ec2-user/sapphire-pm2/source/node_modules/redis/dist/index"' has no exported member 'Callback'.
8     callback: redisTypes.Callback<unknown>;
                           ~~~~~~~~
node_modules/@opentelemetry/otlp-exporter-base/build/src/platform/browser/util.d.ts:10:84 - error TS2304: Cannot find name 'BlobPropertyBag'.
10 export declare function sendWithBeacon(body: string, url: string, blobPropertyBag: BlobPropertyBag, onSuccess: () => void, onError: (error: OTLPExporterError) => void): void;
                                                                                      ~~~~~~~~~~~~~~~
src/core/tracing.js:27:6 - error TS2339: Property 'then' does not exist on type 'void'.
27     .then(() => console.log('Tracing initialized'))
        ~~~~
Found 3 errors in 3 files.
Errors  Files
     1  node_modules/@opentelemetry/instrumentation-redis/build/src/types.d.ts:8
     1  node_modules/@opentelemetry/otlp-exporter-base/build/src/platform/browser/util.d.ts:10
     1  src/core/tracing.js:27
p

Prashant Shahi

03/15/2023, 11:55 AM
@Vishal Sharma
v

Vishal Sharma

03/15/2023, 12:19 PM
How did you instrument? Did you follow any tutorial?
a

abhinav sharma

03/15/2023, 12:22 PM
Yes I did
Node JS
app
v

Vishal Sharma

03/15/2023, 12:25 PM
Did you use all in one instrumentation method?
a

abhinav sharma

03/15/2023, 12:26 PM
yeah i installed all 3 of them
step by step
v

Vishal Sharma

03/15/2023, 12:34 PM
This issue on opentelemetry seems related to your issue: https://github.com/open-telemetry/opentelemetry-js/issues/3580
Can you follow this and report if it worked?
a

abhinav sharma

03/15/2023, 12:36 PM
Checking
2 Views