Closed
Description
I (luckily) haven't had to build Node.js on Windows in a long time, but I (unfortunately) need to now. With the main branch checked out at d396a04 and no unstaged changes, I see the following error at the end of the build process:
> vcbuild
Looking for Python
Python found in C:\Program Files\Python310\\python.exe
Python 3.10.11
Looking for Visual Studio 2022
Looking for Visual Studio 2019
Found MSVS version 16.0
...
node_mksnapshot.vcxproj -> out\Release\\node_mksnapshot.exe
node_mksnapshot
out\Release\node_mksnapshot.exe: node:internal/timers:687
SyntaxError: Invalid or unexpected token
at compileForInternalLoader (node:internal/bootstrap/realm:389:18)
at requireBuiltin (node:internal/bootstrap/realm:423:14)
at node:internal/bootstrap/node:69:24
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066
The file lib/internal/timers.js
is unmodified. Its SHA-1 checksum is 716eccf542993957462b7ad0b9c13db91c046cec
.