When trying to build Node.js version 11.6.0 after downloading the source code from the Node.js website, and when it tried to build rename_node_bin_win.vcxproj, it failed with the error mentioned in the title. The full message I got when it failed building that project is as follows:
"
rename_node_bin_win
'mv' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,
5): error MSB6006: "cmd.exe" exited with code 1. [C:\node-v11.6.0\rename_node_bin_win.vcxproj]
"
Microsoft.CppCommon.targets line 209 is referring to this:
<CustomBuild Sources ="@(CustomBuild)" BuildSuffix ="$(_BuildSuffix)" TrackerLogDirectory ="%(CustomBuild.TrackerLogDirectory)" MinimalRebuildFromTracking ="%(CustomBuild.MinimalRebuildFromTracking)" TLogReadFiles ="@(CustomBuildTLogReadFiles)" TLogWriteFiles ="@(CustomBuildTLogWriteFiles)" TrackFileAccess ="$(TrackFileAccess)" ToolArchitecture ="$(CustomBuildToolArchitecture)" TrackerFrameworkPath ="$(CustomBuildTrackerFrameworkPath)" TrackerSdkPath ="$(CustomBuildTrackerSdkPath)" AcceptableNonZeroExitCodes ="%(CustomBuild.AcceptableNonZeroExitCodes)"></CustomBuild>
Any help would be greatly appreciated. Thanks in advance.