Azure-Samples / powerbi-angular-client

PowerBI sample demonstrating use of angular-powerbi
http://azure-samples.github.io/powerbi-angular-client
MIT License
21 stars 18 forks source link

Help in building the sample #5

Open gpanagakis opened 7 years ago

gpanagakis commented 7 years ago

In the second step of the build process "npm run build" I got the following errors :

gulp build

[12:45:28] Using gulpfile ~\Desktop\wc\PowerBI\powerbi-angular-client-master\gulpfile.js [12:45:28] Starting 'build'... [12:45:28] Starting 'clean:dist'... [12:45:28] Finished 'clean:dist' after 20 ms [12:45:28] Starting 'compile:src'... ts-loader: Using typescript@2.0.8 and C:\Users\Ilias\Desktop\wc\PowerBI\powerbi-angular-client-master\tsconfig.json { [Error: C:\Users\Ilias\Desktop\wc\PowerBI\powerbi-angular-client-master\node_modules\angular-powerbi\dist\components\powerbi-report\component.d.ts (3,25): error TS2307: Cannot find module 'powerbi-models'../app/services/reports.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario6/route.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario6/controller.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario5/route.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario5/controller.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario4/route.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario4/controller.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario4/controller.ts (97,29): error TS7006: Parameter 'event' implicitly has an 'any' type../app/scenario4/controller.ts (100,23): error TS7006: Parameter 'pages' implicitly has an 'any' type../app/scenario4/controller.ts (119,19): error TS7006: Parameter 'filters' implicitly has an 'any' type../app/scenario4/controller.ts (128,27): error TS7006: Parameter 'filters' implicitly has an 'any' type../app/scenario4/controller.ts (182,19): error TS7006: Parameter 'filters' implicitly has an 'any' type../app/scenario4/controller.ts (184,31): error TS7006: Parameter 'filter' implicitly has an 'any' type../app/scenario4/controller.ts (184,39): error TS7006: Parameter 'i' implicitly has an 'any' type../app/scenario4/controller.ts (273,53): error TS7006: Parameter 'condition' implicitly has an 'any' type../app/scenario4/controller.ts (274,60): error TS7006: Parameter 'conditionB' implicitly has an 'any' type../app/scenario4/controller.ts (284,46): error TS7006: Parameter 'value' implicitly has an 'any' type../app/scenario4/controller.ts (285,53): error TS7006: Parameter 'valueB' implicitly has an 'any' type../app/scenario3/route.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario3/controller.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario3/controller.ts (69,34): error TS7006: Parameter 'event' implicitly has an 'any' type../app/scenario3/controller.ts (71,23): error TS7006: Parameter 'pages' implicitly has an 'any' type../app/scenario3/controller.ts (81,57): error TS7006: Parameter 'event' implicitly has an 'any' type../app/scenario2/controller.ts (3,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario1/route.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/scenario1/controller.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/components/powerbi-page-navigation/component.ts (1,22): error TS2307: Cannot find module 'powerbi-client'../app/components/powerbi-filter-pane/component.ts (1,22): error TS2307: Cannot find module 'powerbi-client'.]

I have read the previous questions and installed typings but this did not seems to resolve the issue.

thank you in advance