node-packer icon indicating copy to clipboard operation
node-packer copied to clipboard

Windows install fails: getnodeversion.py SyntaxError / "call vcbuild.bat x64"

Open elig0n opened this issue 7 years ago • 2 comments

-> Running ["call vcbuild.bat x64"] File "D:\Temp\nodec\node-8.3.0-1.5.0\tools\getnodeversion.py", line 20 print '%(major)s.%(minor)s.%(patch)s'% locals() ^ SyntaxError: invalid syntax Cannot determine current version of Node.js Failed running ["call vcbuild.bat x64"]

The ^ points to the second '

As this I have python 3 , changing it to python 3 syntax i.e.:

print ('%(major)s.%(minor)s.%(patch)s' % locals())

Still results in :

-> Running ["call vcbuild.bat x64"] Failed running ["call vcbuild.bat x64"]

elig0n avatar Mar 21 '18 13:03 elig0n

Did you installed Visual Studio (Community) 2015 or 2017?

slee047 avatar Apr 24 '19 09:04 slee047

In my case is with the 2017 version

aemonge avatar Apr 15 '20 09:04 aemonge