I am embarking on my first Angular project and may not grasp every detail perfectly. In my search for guidance, I came across the command "ng build --prod" on Google and decided to give it a try. Everything seemed to be going smoothly at first until an error popped up:
ERROR in node_modules/rxjs/Subscription.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subscription'.
node_modules/ngx-carousel/src/ngx-carousel/ngx-carousel.component.d.ts(3,10): error TS2305: Module '"/home/fantomiald/Usekey/Deploiement/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
I attempted to seek out a solution on various forums but unfortunately came up empty-handed. Your assistance with resolving this issue would be greatly appreciated.
If you require any snippets of code from my project, please don't hesitate to ask, I will provide them promptly.
Interestingly, when utilizing the "ng serve" command, no errors are encountered.
Thank you in advance for your help!