Git Product home page Git Product logo

ngx-persian's Issues

Build Failed because of this module!

Hi, I use "ng build --prod" and it return this error:

ERROR in Type FaNumPipe in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts is part of the declarations of 2 modules: AppModule in G:/AngularProjects/BProject/src/app/app.module.ts and NgxPersianModule in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts! Please consider moving FaNumPipe in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts to a higher module that imports AppModule in G:/AngularProjects/BProject/src/app/app.module.ts and NgxPersianModule in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts. You can also create a new NgModule that exports and includes FaNumPipe in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts then import that NgModule in AppModule in G:/AngularProjects/BProject/src/app/app.module.ts and NgxPersianModule in G:/AngularProjects/BProject/node_modules/ngx-persian/ngx-persian.d.ts.

How I can resolve this?!

[BUG]

Hi, thanks for such a useful package.
The current version is not supported on angular 14

error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.[BUG]

hi
thanks for this project, it is very useful.
i use command "npm install ngx-persian --save " and after install i have this error in my project:

Failed to compile.

node_modules/ngx-persian/lib/ngx-persian.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.

This likely means that the library (ngx-persian) which declares NgxPersianModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

1 export declare class NgxPersianModule {
~~~~~~~~~~~~~~~~
tnx

[BUG]

hi.

isValidPhoneNumber method (in MobilePhoneNumberService) return false for phone numbers like '0993*******'

[Feature]

Please add support for angular 16.

[BUG]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Complete Stack trace for the error
  2. The code produces the error.
  3. Information about the environment.

Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

[Feature]

سلام وقت بخیر
من توی داکیومنت ها گشتم و چیزی شبیه PersianDate Pipe ندیدم.
اگر من جا انداختم راهنمایی کنین.
اگر هم چنین فیچری نیست لطفا اضافه کنین چون خیلی به درد بخوره که بشه با یه پایپ ساده، دیت تامی که از سمت سرور میاد رو به جلالی تبدیل کنه

ERROR TypeError: value.format is not a function

Error description:
Hi(salam),
I'm working with angular v8 and this error shows up when I try to use the "jdate" pipe.

My code img is here:
code

The console error img is here:
err

please fix this problem, thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.