We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
null
Required to run OpenNext server-functions/ on Lambda.
server-functions/
On POSIX, it uses the $HOME environment variable if defined. Otherwise it uses the effective UID to look up the user's home directory.
https://nodejs.org/api/os.html#oshomedir
The text was updated successfully, but these errors were encountered:
getpwuid
SHGetKnownFolderPath
fix(ext/node): homedir() getpwuid/SHGetKnownFolderPath fallback (#…
bba553b
…23841) **Unix**: Returns the value of the HOME environment variable if it is set even if it is an empty string. Otherwise, it tries to determine the home directory by invoking the [getpwuid_r](https://linux.die.net/man/3/getpwuid_r) function with the UID of the current user. **Windows**: Returns the value of the USERPROFILE environment variable if it is set and it is not an empty string. Otherwise, it tries to determine the home directory by invoking the [SHGetKnownFolderPath](https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath) function with [FOLDERID_Profile](https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid). Fixes #23824
925be25
Successfully merging a pull request may close this issue.
Required to run OpenNext
server-functions/
on Lambda.https://nodejs.org/api/os.html#oshomedir
The text was updated successfully, but these errors were encountered: