Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not working with Angular 8.1.2

See original GitHub issue

The package works fine with ng serve, but it throws the following error when a production build is started:

ERROR in ./node_modules/ngx-material-timepicker/fesm2015/ngx-material-timepicker.js Module build failed (from ./node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js): TypeError: Cannot read property 'kind' of undefined

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

elmartinocommented, Apr 29, 2020

I fixed it by upgrading to "@angular-devkit/build-angular": "^0.803.23",

amedriveroperez1984commented, Mar 10, 2021

Hi, I’m having same issue: “@angular-devkit/build-angular”: “~0.803.3” “ngx-material-timepicker”: “^5.5.3” “typescript”: “~3.5.3”

In my case updating @angular-devkit/build-angular to ~0.803.4 did the trick.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular - 8 - Trouble with npm-install - Error - Stack Overflow
I tried running npm-install --legacy-peer-deps, but the command install Angular Version 14?? Instead of 8 and the app won't even run. Could ...
Read more >
Not working in Angular 8.1.2 · Issue #114 - GitHub
Was working perfectly with Angular 7, after update to Angular 8.1.2 throws always same error with ng serve : An unhandled exception ......
Read more >
8.1.2 - @angular/cli - npm
CLI tool for Angular. Latest version: 15.0.4, last published: 9 days ago. Start using @angular/cli in your project by running `npm i ...
Read more >
Angular versioning and releases
We update peer dependencies in minor versions by expanding the supported versions, but we do not require projects to update these dependencies. Patch...
Read more >
@angular/core 8.1.2 vulnerabilities | Snyk
Known vulnerabilities in the @angular/core package. This does not include vulnerabilities belonging to this package's dependencies.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found