ReferenceError: 'URLSearchParams' is not defined
See original GitHub issueHi,
Sentry is reporting the following reference error on Edge version 16.
ReferenceError: 'URLSearchParams' is not defined
at param(../node_modules/ky/index.js:331:5)
Is something broken at my end of there is an issue with Ky?
Thanks,
Sun
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to use global URLSearchParams in node - Stack Overflow
If I import 'url-search-params/build/url-search-params'; , I get HTMLAnchorElement is not defined. – Martin Nyolt. Nov 14, 2017 at 8:54. Why don ...
Read more >ReferenceError: URLSearchParams is not defined error in GAS
Hi! I am trying to send a post api request through GAS but my code doesn't work correctly, it gives me an error...
Read more >Cannot find name 'URLSearchParams' in TypeScript
To solve the error "Cannot find name URLSearchParams", make sure to add the DOM string to the lib array in your tsconfig.json file...
Read more >URLSearchParam is undefined error when trying to access list
There seems to be an issue with Edge where the library throws a ReferenceError Exception 'URLSearchParams is undefined' when calling ...
Read more >uni-app 微信小程序报错ReferenceError
uni-app 微信小程序报错ReferenceError: URLSearchParams is not defined. uni-app框架代码如下:. let param = new URLSearchParams();
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
(Old) Edge is not considered a modern browser as it doesn’t auto-update and it’s missing a lot of expected features. Chromium-based Edge, however, is considered a modern browser, but it’s not stable yet.
For the record, Edge has
URLSearchParamsand it should work without a polyfill, but only in Edge 17 and newer.