Nebular: ERROR in The target entry-point "@nebular/date-fns" has missing dependencies: - date-fns/getWeek

Created on 13 Apr 2020  路  3Comments  路  Source: akveo/nebular

Issue type

I'm submitting a ...

  • [x] bug report
  • [ ] feature request

Issue description

Current behavior:
NbDateFnsDateModule has missing dependencies

Expected behavior:
Date formating should be able in DatePicker component

Steps to reproduce:
-Install @nebular/date-fns
-Try to include it in AppModule

Other information:

npm, node
node v10.16.3
npm 6.14.4

Angular, Nebular
Angular CLI ~9.1.0
"@nebular/theme": "^5.0.0"
"@nebular/date-fns": "^5.0.0"

Screenshot 2020-04-13 at 5 14 56 PM

Most helpful comment

Guys I solved this problem installing date-fns package

https://date-fns.org/docs/Getting-Started#installation

All 3 comments

I have the same issues.

ERROR in The target entry-point "@nebular/date-fns" has missing dependencies:

  • date-fns/parse
  • date-fns/format
  • date-fns/getWeek

Does anyone help me?

the same issue:
ERROR in The target entry-point "@nebular/date-fns" has missing dependencies:

  • date-fns/parse
  • date-fns/format
  • date-fns/getWeek

This likely means that the library (@nebular/date-fns) which declares NbDateFnsDateModule 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.

Guys I solved this problem installing date-fns package

https://date-fns.org/docs/Getting-Started#installation

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andredatsch picture andredatsch  路  3Comments

mmezian picture mmezian  路  3Comments

bnbs picture bnbs  路  4Comments

mobarokhossain picture mobarokhossain  路  4Comments

henry74 picture henry74  路  3Comments