Cannot read properties of null (reading 'removeChild')

I get this error randomly and when it happens it crashes the entire app. I'm using angular 14 with angular material.
I think you may have to upgrade your package to the latest angular version.
If I remove flutterwave angular package, everything works fine
Hello @josephadah
Kindly include the following line in tsconfig.app.json under compilerOptions : paths": { "@angular/": [ "node_modules/@angular/" ] } Then restart server. Please share if this resolves the issue.
Hello @josephadah
Please share if the suggestion above resolved this issue.
Hello @josephadah
Kindly include the following line in tsconfig.app.json under compilerOptions : paths": { "@angular/": [ "node_modules/@angular/" ] } Then restart server. Please share if this resolves the issue.
This didn't solve the issue, atleast for my case angular version 16, it didn't work, the error stills persist.