ngx-daterangepicker-material icon indicating copy to clipboard operation
ngx-daterangepicker-material copied to clipboard

Angular 14 : DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed.

Open anhtata opened this issue 2 years ago • 1 comments

Versions ngx-daterangepicker-material v 5.0.2

  • Angular version: 14.0.4
  • component version:

Describe the bug

Warning: Entry point 'ngx-daterangepicker-material' contains deep imports into 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localeData', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localizedFormat', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/isoWeek', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/weekOfYear', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/customParseFormat'. This is probably not a problem, but may cause the compilation of entry points to be out of order.

Processing legacy "View Engine" libraries: (node:21196) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead

(Use node --trace-deprecation ... to show where the warning was created)

  • ngx-daterangepicker-material [es2015/esm2015] (https://github.com/fetrarij/ngx-daterangepicker-material.git)

Encourage the library authors to publish an Ivy distribution.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade Angular 14
  2. Npm Build
  3. See warnings Warning: Entry point 'ngx-daterangepicker-material' contains deep imports into 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localeData', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localizedFormat', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/isoWeek', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/weekOfYear', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/customParseFormat'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Warning: Entry point 'ngx-daterangepicker-material' contains deep imports into 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localeData', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/localizedFormat', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/isoWeek', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/weekOfYear', 'D:/dd/ddadmintool/node_modules/dayjs/plugin/customParseFormat'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Processing legacy "View Engine" libraries: (node:21196) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead (Use node --trace-deprecation ... to show where the warning was created)
  • ngx-daterangepicker-material [es2015/esm2015] (https://github.com/fetrarij/ngx-daterangepicker-material.git)
  • ngx-perfect-scrollbar [es2015/esm2015] (https://github.com/zefoy/ngx-perfect-scrollbar.git) Encourage the library authors to publish an Ivy distribution.

anhtata avatar Jul 04 '22 02:07 anhtata

Solved in >= 6.0.2

Rapiiidooo avatar Nov 17 '22 10:11 Rapiiidooo