You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
i'm new here and also new in developing PowerBI visualizations. i've tried installing and running the Gantt-chart visualization, but i'm getting the same errors as mentioned by @smilekudo in this link, viz., the ones with textMeasurementService and textProperties:
ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts
./src/gantt.ts 83:28-42
[tsl] ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts(83,29)
TS2694: Namespace '"C:\Users\powerbi-visuals-gantt-master\node_modules\powerbi-visuals-utils-formattingutils\lib\src\textMeasurementService".textMeasurementService' has no exported member 'textProperties'.
@ ./.tmp/precompile/visualPlugin.ts 1:0-40 10:12-17 11:23-28
ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts
./src/gantt.ts 85:36-58
[tsl] ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts(85,37)
TS2339: Property 'textMeasurementService' does not exist on type 'typeof textMeasurementService'.
@ ./.tmp/precompile/visualPlugin.ts 1:0-40 10:12-17 11:23-28
ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts
./src/gantt.ts 85:36-58
[tsl] ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts(85,37)
TS2694: Namespace '"C:\Users\powerbi-visuals-gantt-master\node_modules\powerbi-visuals-utils-formattingutils\lib\src\textMeasurementService".textMeasurementService' has no exported member 'textMeasurementService'.
@ ./.tmp/precompile/visualPlugin.ts 1:0-40 10:12-17 11:23-28
i managed to resolve the error with textMasurementService by modifying the line in the index.d.ts file from:
import { textMeasurementService } from "./textMeasurementService";
to:
import * as textMeasurementService from "./textMeasurementService";
but how do i fix the error with the textProperties?
From what i've understood so far, the parameter textProperties is used within individual methods but is never returned. should that be added here?
please help. thanks in advance! :)
The text was updated successfully, but these errors were encountered:
Hello!
i'm new here and also new in developing PowerBI visualizations. i've tried installing and running the Gantt-chart visualization, but i'm getting the same errors as mentioned by @smilekudo in this link, viz., the ones with textMeasurementService and textProperties:
#198 (comment)
here's my message log from powershell:
ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts
./src/gantt.ts 83:28-42
[tsl] ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts(83,29)
TS2694: Namespace '"C:\Users\powerbi-visuals-gantt-master\node_modules\powerbi-visuals-utils-formattingutils\lib\src\textMeasurementService".textMeasurementService' has no exported member 'textProperties'.
@ ./.tmp/precompile/visualPlugin.ts 1:0-40 10:12-17 11:23-28
ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts
./src/gantt.ts 85:36-58
[tsl] ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts(85,37)
TS2339: Property 'textMeasurementService' does not exist on type 'typeof textMeasurementService'.
@ ./.tmp/precompile/visualPlugin.ts 1:0-40 10:12-17 11:23-28
ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts
./src/gantt.ts 85:36-58
[tsl] ERROR in C:\Users\powerbi-visuals-gantt-master\src\gantt.ts(85,37)
TS2694: Namespace '"C:\Users\powerbi-visuals-gantt-master\node_modules\powerbi-visuals-utils-formattingutils\lib\src\textMeasurementService".textMeasurementService' has no exported member 'textMeasurementService'.
@ ./.tmp/precompile/visualPlugin.ts 1:0-40 10:12-17 11:23-28
i managed to resolve the error with textMasurementService by modifying the line in the index.d.ts file from:
import { textMeasurementService } from "./textMeasurementService";
to:
import * as textMeasurementService from "./textMeasurementService";
but how do i fix the error with the textProperties?
From what i've understood so far, the parameter textProperties is used within individual methods but is never returned. should that be added here?
please help. thanks in advance! :)
The text was updated successfully, but these errors were encountered: