You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\node> call vcbuild.batLooking for Python 2.xLooking for NASMLooking for Visual Studio 2017Found MSVS version 15.0Could Not Find C:\node\.tmp_gyp_configure_stampCould Not Find C:\node\.gyp_configure_stampconfigure --with-pch --dest-cpu=x64 File "configure", line 1578 os.chmod('config.status', 0775) ^SyntaxError: invalid token
Why does this error occur? Is it a problem with MSVS 15.0?
Your default python executable on Windows seems to be Python 3, but at this point Node.js only supports building with Python 2. Usually, there should be a more helpful error message that points this out, but since nodejs/node@074e7f8 (my bad), the 0775 token leads to an early syntax error in Python 3.
Activity
addaleax commentedon Aug 26, 2018
Your default python executable on Windows seems to be Python 3, but at this point Node.js only supports building with Python 2. Usually, there should be a more helpful error message that points this out, but since nodejs/node@074e7f8 (my bad), the
0775token leads to an early syntax error in Python 3.build: use `0o` octal notation in configure
refack commentedon Aug 26, 2018
This is a bit strange, since
vcbuild.battried to validate it's using python2.@djmangoo could you run the following and post the results:
build: use `0o` octal notation in configure
build: use `0o` octal notation in configure
build: use `0o` octal notation in configure
build: use `0o` octal notation in configure
gireeshpunathil commentedon Jun 10, 2019
@ghost - is this still outstanding?
gireeshpunathil commentedon Jun 24, 2019
inactive, closing