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.

Module not found: Error: Can't resolve 'ngx-currency' in

See original GitHub issue

I have updated to Angular 8.2.14 and ngx-currency 2.2.0 and I got the following error:

ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve 'ngx-currency' in '/path-to-project'

Usage:

import { NgxCurrencyModule } from 'ngx-currency';

@NgModule({
  imports: [
    ...
    NgxCurrencyModule,
    ...
  ],
})
export class AppModule {
}

The module exists in the node_modules/ngx-currency directory, but I can’t get it working again.

Any ideas?

Issue Analytics

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

github_iconTop GitHub Comments

7reactions
t2developercommented, Dec 29, 2019

broke for me too, I went back to the last version (1.5.2). I’m running angular 8.2.11 and it works.

Let me know when you release a fix.

5reactions
nbfontanacommented, Jan 2, 2020

Fixed with a new version: ngx-currency-v2.2.1 🚀

Tested with the following setup:

  "dependencies": {
    "@angular/animations": "~8.2.14",
    "@angular/common": "~8.2.14",
    "@angular/compiler": "~8.2.14",
    "@angular/core": "~8.2.14",
    "@angular/forms": "~8.2.14",
    "@angular/platform-browser": "~8.2.14",
    "@angular/platform-browser-dynamic": "~8.2.14",
    "@angular/router": "~8.2.14",
    "core-js": "^2.5.4",
    "ngx-currency": "^2.2.1",
    "rxjs": "~6.5.4",
    "tslib": "^1.9.0",
    "zone.js": "~0.9.1"
  },

Thanks @exequiel09 for pointing the error in the release script in v2.2.0.

⚠️ LET ME KNOW IF ANYTHING STILL BROKEN ⚠️

Also, if any of you guys want to improve or make some cool changes to ngx-currency, just let me know.

I’ve been away from Angular for a while…

Thank you all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ngx-currency - npm
A very simple currency mask directive that allows using a number attribute with the ngModel.. Latest version: 3.0.0, last published: a month ...
Read more >
0 - Stack Overflow
its working fine in local..but while i build this code its got build error like this '"../../../node_modules/ngx-currency"' has no exported ...
Read more >
ngx-currency-formatter-library - npm package - Snyk
I made this library because i needed a component (as simple as possible) that just renders the value in my input field as...
Read more >
ngx-currency documentation
npm install ngx-currency --save. Import the module import { NgxCurrencyModule } from "ngx-currency"; @NgModule({ imports: [ ... NgxCurrencyModule ] ...
Read more >
How to fix 'Module not found: Can't resolve 'http' in ... - YouTube
Your browser can't play this video. ... How to fix ' Module not found : Can't resolve 'http' in ...' error with FCL...
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