Skip to content

Commit d95ceea

Browse files
committed
Add note to Electron tip
Fixes #2007
1 parent 0703318 commit d95ceea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

documentation/tips.md

+2
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ console.log(headers.Foo); //=> 'bar'
389389
390390
### Electron `net` module is not supported
391391
392+
**Note:** Got v12 and later is an ESM package, but Electron does not yet support ESM. So you need to use Got v11.
393+
392394
Got doesn't support the `electron.net` module. It's missing crucial APIs that are available in Node.js.\
393395
While Got used to support `electron.net`, it got very unstable and caused many errors.
394396

0 commit comments

Comments
 (0)