question-mark
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.

Does not build with Angular 10

See original GitHub issue
[x ] Bug
[ ] Build issue
[ ] Feature request

Version info

7.3.2

Angular:
Angular CLI: 10.0.5
ngx-countup: 7.3.2

Description

I get a build error on ng build --prod:

ERROR in The target entry-point "ngx-countup" has missing dependencies:
 - countup.js/dist/countup.umd.js

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
inorganikcommented, Aug 6, 2020

For what it’s worth, I don’t get any error when building with angular 10, just a warning.

But I reverted my commit that caused the issue, Latest version 7.3.3 works for me in ng 10. Still potentially an issue with SSR as referenced above.

1reaction
inorganikcommented, Aug 5, 2020

Temporary workaround, just install 7.3.1, it uses the regular import of countUp instead of the deep import.

npm i ngx-countUp@7.3.1
Read more comments on GitHub >

github_iconTop Results From Across the Web

ng build - Angular
Option Description Value Type Default Value ‑‑aot Build using Ahead of Time compilation. boolean true ‑‑base‑href Base url for the application being built. string ‑‑delete‑output‑path Delete...
Read more >
angular10 - Ng Build issues when using Angular 10 project
Ng Build issues when using Angular 10 project - [An unhandled exception occurred: Job name "..getProjectMetadata" does not exist.] Ask Question.
Read more >
Angular 10 ng build doesn't flag missing module in app ...
The app module is missing the paginator module which is root cause of the issue.
Read more >
Identify and Fix Build and Deployment Errors in Your Angular ...
In this guide, you will learn how to spot some of the most common build and deployment errors and how to resolve them...
Read more >
ng build does not detect changes? : r/angular - Reddit
Hey, I'm working on a couple of changes for an angular project and they're seemingly not going through. After saving the files in...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found