SPFX development with GoJS (TypeScript) is crashing

After adding GoJS (both d.ts file & package) to SPFX webpart component (ReactJS), following error is coming when its run. Is there anything more needed ?

[SPLoaderError.loadComponentError]:
***Failed to load component “cccda7e1-163b-4ab8-9a12-9ceb31cf922b” (ObjectTitleWebPart).
Original error: ***Failed to load entry point from component “cccda7e1-163b-4ab8-9a12-9ceb31cf922b” (ObjectTitleWebPart).
Original error: Error loading https://component-id.invalid/cccda7e1-163b-4ab8-9a12-9ceb31cf922b_2.6.1
Unexpected anonymous AMD define.

***INNERERROR:
***Failed to load entry point from component “cccda7e1-163b-4ab8-9a12-9ceb31cf922b” (ObjectTitleWebPart).
Original error: Error loading https://component-id.invalid/cccda7e1-163b-4ab8-9a12-9ceb31cf922b_2.6.1
Unexpected anonymous AMD define.
***CALLSTACK:
Error
at SPLoaderError.SPError [as constructor] (https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_default.js:8668:24)
at new SPLoaderError (https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_default.js:4124:28)
at Function.ErrorBuilder.buildErrorWithVerboseLog (https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_default.js:3783:21)
at Function.ErrorBuilder.buildLoadComponentError (https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_default.js:3691:21)
at https://localhost:4321/temp/workbench-packages/@microsoft_sp-loader/dist/sp-loader-assembly_default.js:6936:47

We’re not familiar with SharePoint development. Could you please tell us how to reproduce the problem?

From your error messages it’s hard to see how GoJS is involved.

Iam facing the same issue can someone help