Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Object(...) is not a function #33

Open
bbesase opened this issue Aug 24, 2020 · 1 comment
Open

Uncaught TypeError: Object(...) is not a function #33

bbesase opened this issue Aug 24, 2020 · 1 comment
Assignees

Comments

@bbesase
Copy link

bbesase commented Aug 24, 2020

Hello! Thanks for the library support on this :)

When following your documentation (specifically for method #3) step for step. I keep getting this error in the console:

ngx-powerbi.js:264 Uncaught TypeError: Object(...) is not a function at ngx-powerbi.js:264 at Module../node_modules/ngx-powerbi/fesm5/ngx-powerbi.js (ngx-powerbi.js:266) at __webpack_require__ (bootstrap:78) at Module../src/app/app.component.ts (main.js:130) at __webpack_require__ (bootstrap:78) at Module../src/app/app.module.ts (app.component.ts:10) at __webpack_require__ (bootstrap:78) at Module../src/main.ts (main.ts:1) at __webpack_require__ (bootstrap:78) at Object.0 (main.ts:12)

Heres my package.json file for versions:

"dependencies": { "@angular/animations": "~7.0.0", "@angular/common": "~7.0.0", "@angular/compiler": "~7.0.0", "@angular/core": "~7.0.0", "@angular/forms": "~7.0.0", "@angular/http": "~7.0.0", "@angular/platform-browser": "~7.0.0", "@angular/platform-browser-dynamic": "~7.0.0", "@angular/router": "~7.0.0", "angular2-powerbi": "^0.1.1", "core-js": "^2.5.4", "ngx-powerbi": "^3.0.0", "powerbi-client": "^2.14.0", "powerbi-models": "^1.4.0", "rxjs": "~6.3.3", "zone.js": "~0.8.26" }, "devDependencies": { "@angular-devkit/build-angular": "~0.10.0", "@angular/cli": "~7.0.5", "@angular/compiler-cli": "~7.0.0", "@angular/language-service": "~7.0.0", "@types/node": "~8.9.4", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "codelyzer": "~4.5.0", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~3.0.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.11.0", "typescript": "~3.1.6" }

Would you have any idea why this be? I"m not sure what info you need so if you need anymore information just let me know and I will supply it.

Thanks!

@ramandeep-singh-1983 ramandeep-singh-1983 self-assigned this Sep 9, 2020
@ramandeep-singh-1983
Copy link
Owner

Sorry for the late reply, i just saw this. Will try to reproduce this. Meanwhile, can you try the library in a new Angular9+ app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants