Coder Social home page Coder Social logo

Errors while building on Windows 10 about qode HOT 1 OPEN

nodegui avatar nodegui commented on August 30, 2024
Errors while building on Windows 10

from qode.

Comments (1)

Singha360 avatar Singha360 commented on August 30, 2024

UPDATE:

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
}

from qode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.