node-packer
node-packer copied to clipboard
Windows install fails: getnodeversion.py SyntaxError / "call vcbuild.bat x64"
-> 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"]
Did you installed Visual Studio (Community) 2015 or 2017?
In my case is with the 2017 version