I am new to Netlify.
Issue: Unable to install netlify-cli in windows 7 64-bit system.
Node version v16.15.1
Complete error trace attached. Please help.
Windows 7 is not supported by Node.js 16 as far as I know, at least not completely. This is not a Netlify issue, but it misses some features required by some Node libraries, for example:
opened 07:04PM - 06 May 22 UTC
closed 04:42PM - 11 May 22 UTC
I had this issue while trying to send a mail with a test account (not using a re… al one for now), I don't know why it occurs but seems (as error logs) `os.hostname()` is not defined and throws an error.
```
node:internal/errors:465
ErrorCaptureStackTrace(err);
^
SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
at SMTPConnection._getHostname (C:\Users\Giorgio\NodeDEV\mail-tracker\node_modules\nodemailer\lib\smtp-connection\index.js:1758:34)
at new SMTPConnection (C:\Users\Giorgio\NodeDEV\mail-tracker\node_modules\nodemailer\lib\smtp-connection\index.js:64:47)
at new SMTPTransport (C:\Users\Giorgio\NodeDEV\mail-tracker\node_modules\nodemailer\lib\smtp-transport\index.js:51:26)
at Object.module.exports.createTransport (C:\Users\Giorgio\NodeDEV\mail-tracker\node_modules\nodemailer\lib\nodemailer.js:49:27)
at newTestAccount (C:\Users\Giorgio\NodeDEV\mail-tracker\mail.js:83:34)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'ERR_SYSTEM_ERROR',
info: {
errno: -4054,
code: 'ENOSYS',
message: 'function not implemented',
syscall: 'uv_os_gethostname'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
}
```
To solve this issue, I just needed to add a try statement and replace [this line](https://github.com/nodemailer/nodemailer/blob/38e5773826ddc0ab2355557bcd2db38b9e8aac09/lib/smtp-connection/index.js#L1758) with my code:
```js
var defaultHostname = '';
try {
defaultHostname = os.hostname() || '';
} catch (e) { };
```
opened 11:47AM - 17 Aug 22 UTC
closed 01:28PM - 17 Aug 22 UTC
windows 7
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code… Version: 1.71 Insiders
- OS Version: Win 7 x64
Steps to Reproduce:
1. Since 1.71 Insiders, VSCode won't start, even though it installed without issues
2.