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

Not working with angular 7 #240

Closed
Matthbo opened this issue Oct 14, 2019 · 2 comments
Closed

Not working with angular 7 #240

Matthbo opened this issue Oct 14, 2019 · 2 comments

Comments

@Matthbo
Copy link

Matthbo commented Oct 14, 2019

  • Angular v7.2.15
  • Angular Material 7.3.7

ng serve warnings:

WARNING in ./node_modules/ngx-material-timepicker/fesm5/ngx-material-timepicker.js 42:56-74
"export 'ɵɵdefineInjectable' was not found in '@angular/core'

WARNING in ./node_modules/ngx-material-timepicker/fesm5/ngx-material-timepicker.js 71:33-51
"export 'ɵɵdefineInjectable' was not found in '@angular/core'

WARNING in ./node_modules/ngx-material-timepicker/fesm5/ngx-material-timepicker.js 317:51-69
"export 'ɵɵdefineInjectable' was not found in '@angular/core'

WARNING in ./node_modules/ngx-material-timepicker/fesm5/ngx-material-timepicker.js 71:117-125
"export 'ɵɵinject' was not found in '@angular/core'

WARNING in ./node_modules/ngx-material-timepicker/fesm5/ngx-material-timepicker.js 71:153-161
"export 'ɵɵinject' was not found in '@angular/core'

WARNING in ./node_modules/ngx-material-timepicker/fesm5/ngx-material-timepicker.js 71:179-187
"export 'ɵɵinject' was not found in '@angular/core'

WARNING in ./node_modules/ngx-material-timepicker/fesm5/ngx-material-timepicker.js 71:199-207
"export 'ɵɵinject' was not found in '@angular/core'

chrome developer console errors

Uncaught TypeError: Object(...) is not a function
    at ngx-material-timepicker.js:42
    at Module../node_modules/ngx-material-timepicker/fesm5/ngx-material-timepicker.js (ngx-material-timepicker.js:49)
    at __webpack_require__ (bootstrap:78)
    at Module../src/app/app.module.ts (app.component.ts:14)
    at __webpack_require__ (bootstrap:78)
    at Module../src/main.ts (main.ts:1)
    at __webpack_require__ (bootstrap:78)
    at Object.0 (main.ts:13)
    at __webpack_require__ (bootstrap:78)
    at checkDeferredModules (bootstrap:45)
    at Array.webpackJsonpCallback [as push] (bootstrap:32)
    at main.js:1
@BizzottoClaudio
Copy link

i'm on angular 8 and it's working. Have you tried to clean and rebuild your app?

@Agranom
Copy link
Owner

Agranom commented Oct 15, 2019

Already solved here #173

@Agranom Agranom closed this as completed Oct 15, 2019
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

3 participants