-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
[Feature request] [Windows] Unable to run Node.js in safe mode #22054
Copy link
Copy link
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Made a script for cleaning up disk and unlocking locked files. The script is written in JavaScript and intended to be run using Node.js in Windows safe mode.
When run the script in windows normal mode, it works. However, when run the script in windows safe mode, get the error:
After googling found out that windows safe mode disables network drivers and Node.js won't start if network drivers are disabled.
Is there a reason to terminate Node.js if there are no network drivers enabled? The script is supposed to use only
fsandpathmodule in order tounlinksome files andrmdirdirectories. Network is really irrelevant and terminating the Node.js process because of missing drivers doesn't really make sense to me.But, this is total guess, I'm not sure if missing drivers cause it or whatever, that's what I found on google and stack overflow.
To make it clear: the feature request is to allow Node.js to run in windows safe mode, without requiring any irrelevant configuration to be present (like network drivers, if that is the cause). Would like to hear your opinion.