Topic: angular timepicker error
Expected behavior view browser avter ng serve -o Actual behavior crash with errors: No matching export in "node_modules/rxjs/_esm5/index.js" for import "takeUntil" node_modules/mdb-angular-ui-kit/fesm2022/mdb-angular-ui-kit-timepicker.mjs:7:36: 7 │ import { Subject, merge, fromEvent, takeUntil, switchMap, tap, raceWith, timer, take } from 'rxjs'; D:\xampp8.2.4\htdocs\www\tradingfrattale\node_modules\@angular\build\node_modules\vite\node_modules\esbuild\lib\main.js:1472 let error = new Error(text); ^
Error: Build failed with 5 errors: node_modules/mdb-angular-ui-kit/fesm2022/mdb-angular-ui-kit-timepicker.mjs:7:36: ERROR: No matching export in "node_modules/rxjs/_esm5/index.js" for import "takeUntil" node_modules/mdb-angular-ui-kit/fesm2022/mdb-angular-ui-kit-timepicker.mjs:7:47: ERROR: No matching export in "node_modules/rxjs/_esm5/index.js" for import "switchMap" node_modules/mdb-angular-ui-kit/fesm2022/mdb-angular-ui-kit-timepicker.mjs:7:58: ERROR: No matching export in "node_modules/rxjs/_esm5/index.js" for import "tap" node_modules/mdb-angular-ui-kit/fesm2022/mdb-angular-ui-kit-timepicker.mjs:7:63: ERROR: No matching export in "node_modules/rxjs/_esm5/index.js" for import "raceWith" node_modules/mdb-angular-ui-kit/fesm2022/mdb-angular-ui-kit-timepicker.mjs:7:80: ERROR: No matching export in "node_modules/rxjs/_esm5/index.js" for import "take" at failureErrorWithLog (D:\xampp8.2.4\htdocs\www\tradingfrattale\node_modules\@angular\build\node_modules\vite\node_modules\esbuild\lib\main.js:1472:15) at D:\xampp8.2.4\htdocs\www\tradingfrattale\node_modules\@angular\build\node_modules\vite\node_modules\esbuild\lib\main.js:945:25 at D:\xampp8.2.4\htdocs\www\tradingfrattale\node_modules\@angular\build\node_modules\vite\node_modules\esbuild\lib\main.js:1353:9 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { errors: [Getter/Setter], warnings: [Getter/Setter] }
Resources (screenshots, code snippets etc.) I've deleted node_modules folder and run "npm i" After that I cannot serve my application. Angular CLI: 18.2.12 Node: 22.11.0 Package Manager: npm 10.8.2 OS: win32 x64
Package Version
@angular-devkit/architect 0.1802.12 @angular-devkit/build-angular 18.2.12 @angular-devkit/core 18.2.12 @angular-devkit/schematics 18.2.12 @angular/cli 18.2.12 @schematics/angular 18.2.12 rxjs 6.6.7 typescript 5.5.4 zone.js 0.14.10
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 7.1.0
- Device: computer
- Browser: Chrome
- OS: windows 11
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 3 weeks ago
Did you follow our installation guide and add the
MdbTimepickerModule
import to theimports
list?You can find the guide here: https://mdbootstrap.com/docs/angular/pro/installation/
Passali pro premium priority commented 3 weeks ago
I followed the guide, I used MdbDatepickermodule, not MdbTimepickerModule.Now I deleted every import of MdbDatepicker, But I have the same errors.What is 'MdbTimepickerModule' ? I cannot find informations about it.
UPDATE: after further investigations, this is not a problem in MDB packages, is a problem wth my application after node update, angular update, standalone components, ngmodule cancellation, etc.