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
{{ message }}
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.
I do have Visual Studio Community 2019 with Desktop development with C++ installed. Python 2.7.15 was installed along when I ran npm install --global windows-build-tools
OS: Windows 10 1909
The text was updated successfully, but these errors were encountered:
I managed to solve the warning messages by setting the GYP_MSVS_VERSION environment variable. However I am still getting these error messages:
Env variable: TARGET_ARCH not specified, using default: x64
Env variable: HOST_ARCH not specified, using default: x64
Node.js configure: Found Python 2.7.15...
Warning: Missing input files:
tools\msvs\genfiles\node_etw_provider.rc
tools\msvs\genfiles\node_etw_provider.h
INFO: configure completed successfully
Traceback (most recent call last):
File "tools/gyp/gyp_main.py", line 16, in <module>
sys.exit(gyp.script_main())
File "tools/gyp\pylib\gyp\__init__.py", line 554, in script_main
return main(sys.argv[1:])
File "tools/gyp\pylib\gyp\__init__.py", line 547, in main
return gyp_main(args)
File "tools/gyp\pylib\gyp\__init__.py", line 523, in gyp_main
options.duplicate_basename_check)
File "tools/gyp\pylib\gyp\__init__.py", line 107, in Load
generator.CalculateVariables(default_variables, params)
File "tools/gyp\pylib\gyp\generator\ninja.py", line 1697, in CalculateVariables
gyp.msvs_emulation.CalculateCommonVariables(default_variables, params)
File "tools/gyp\pylib\gyp\msvs_emulation.py", line 1094, in CalculateCommonVariables
msvs_version = gyp.msvs_emulation.GetVSVersion(generator_flags)
File "tools/gyp\pylib\gyp\msvs_emulation.py", line 945, in GetVSVersion
allow_fallback=False)
File "tools/gyp\pylib\gyp\MSVSVersion.py", line 504, in SelectVisualStudioVersion
raise ValueError('Could not locate Visual Studio installation.')
ValueError: Could not locate Visual Studio installation.
child_process.js:669
throw err;
^
Error: Command failed: python tools/gyp/gyp_main.py ../qode.gyp -f ninja -Dhost_arch=x64 -Dtarget_arch=x64 -I../config/node_overrides.gypi --depth .
at checkExecSyncError (child_process.js:630:11)
at Object.execSync (child_process.js:666:15)
at execSync (C:\Users\Singha360\Desktop\qode\build.js:13:35)
at Object.<anonymous> (C:\Users\Singha360\Desktop\qode\build.js:46:1)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 10572,
stdout: null,
stderr: null
}
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I cloned the repo and made sure the git submodules have been synced. However, I get these error messages when running
node build.js
:I do have Visual Studio Community 2019 with Desktop development with C++ installed. Python 2.7.15 was installed along when I ran
npm install --global windows-build-tools
OS: Windows 10 1909
The text was updated successfully, but these errors were encountered: