In my angular 5 application I have this following error:
Http error: {"description":"'URLSearchParams' non è definito","number":-2146823279,"stack":"ReferenceError: 'URLSearchParams' non è definito
URLSearchParams is not supported by IE11 so are there any kind of imports maybe in polyfills.ts
to make it works?
use URLSearchParams Polyfill
npm install url-search-params-polyfill --save
and import it in your polyfills.ts
import 'url-search-params-polyfill';
or to webpack config
entry: {
bundle: [
'url-search-params-polyfill',
...
]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With