-
-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
I have been attempting to build for the past 3 hours however every time I get errors related to the VCTargetsPath value.
The following versions are what I am running at the moment.
- Node.JS - v12.16.3
- Cmake - v3.13.0-rc2
- Visual Studio 2019 - 16.5.4.
In addition I have the build tools for Visual Studio 2015 and 2017 installed as optional components. I have also tried explicitly setting the system environmental var to point to the cpp props file directory and it still didnt build.
The following is the full output from powershell after running npm install. If there is something I am missing please let me know.
PS E:\Dev\dnkrain\react-nodegui-starter> npm install
> @nodegui/qode@2.0.4 postinstall E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\qode
> node install.js
Cached archive already exists at C:\Users\Feed\AppData\Local\qode-nodejs\Cache\qode-win32-x64-v2.0.4.tar.gz. Skipping download....
Extracting C:\Users\Feed\AppData\Local\qode-nodejs\Cache\qode-win32-x64-v2.0.4.tar.gz to E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\qode\binaries ...
Qode was setup successfully at : E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\qode\binaries
> @nodegui/nodegui@0.16.1 postinstall E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui
> cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)
> @nodegui/nodegui@0.16.1 setupqt E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui
> cross-env node ./scripts/setupMiniQt.js
Minimal Qt 5.14.1 setup:
Archive already exists at C:\Users\Feed\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qttools-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z. Skipping download....
Extracting C:\Users\Feed\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qttools-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z to E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt ...
Archive already exists at C:\Users\Feed\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z. Skipping download....
Extracting C:\Users\Feed\AppData\Local\nodegui-mini-qt-nodejs\Cache\5.14.1-0-202001240957qtbase-Windows-Windows_10-MSVC2017-Windows-Windows_10-X86_64.7z to E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt ...
Qt Tools for Minimal Qt: 5.14.1 installation was setup successfully. outDir: E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt
Qt Base for Minimal Qt: 5.14.1 installation was setup successfully. outDir: E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\miniqt
> @nodegui/nodegui@0.16.1 prebuild:install E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui
> prebuild-install --backend=cmake-js --runtime=napi --verbose
prebuild-install info begin Prebuild-install version 5.3.3
prebuild-install info looking for cached prebuild @ C:\Users\Feed\AppData\Roaming\npm-cache\_prebuilds\fc7405-nodegui-v0.16.1-napi-v3-win32-x64.tar.gz
prebuild-install http request GET https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-win32-x64.tar.gz
prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.16.1/nodegui-v0.16.1-napi-v3-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=3 runtime=napi arch=x64 libc= platform=win32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/nodegui@0.16.1 prebuild:install: `prebuild-install --backend=cmake-js --runtime=napi --verbose`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/nodegui@0.16.1 prebuild:install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Feed\AppData\Roaming\npm-cache\_logs\2020-05-09T03_17_59_373Z-debug.log
> @nodegui/nodegui@0.16.1 build:addon E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui
> cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile
[
'C:\\Program Files\\nodejs\\node.exe',
'E:\\Dev\\dnkrain\\react-nodegui-starter\\node_modules\\cmake-js\\bin\\cmake-js',
'compile'
]
info TOOL Using Visual Studio 15 2017 Win64 generator.
info CMD CONFIGURE
info RUN cmake "E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui" --no-warn-unused-cli -G"Visual Studio 15 2017 Win64" -DCMAKE_JS_VERSION="6.1.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY="E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\build" -DCMAKE_JS_INC="C:\Users\Feed\.cmake-js\node-x64\v12.16.3\include\node;E:\Dev\dnkrain\react-nodegui-starter\node_modules\nan" -DCMAKE_JS_SRC="E:/Dev/dnkrain/react-nodegui-starter/node_modules/cmake-js/lib/cpp/win_delay_load_hook.cc" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.3" -DNODE_ARCH="x64" -DCMAKE_JS_LIB="C:\Users\Feed\.cmake-js\node-x64\v12.16.3\win-x64\node.lib" -DCMAKE_SHARED_LINKER_FLAGS="/DELAYLOAD:NODE.EXE"
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:12 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:
The system cannot find the file specified
-- Configuring incomplete, errors occurred!
See also "E:/Dev/dnkrain/react-nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".
info REP Build has been failed, trying to do a full rebuild.
info CMD CLEAN
info RUN cmake -E remove_directory "E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\build"
info CMD CONFIGURE
info RUN cmake "E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui" --no-warn-unused-cli -G"Visual Studio 15 2017 Win64" -DCMAKE_JS_VERSION="6.1.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY="E:\Dev\dnkrain\react-nodegui-starter\node_modules\@nodegui\nodegui\build" -DCMAKE_JS_INC="C:\Users\Feed\.cmake-js\node-x64\v12.16.3\include\node;E:\Dev\dnkrain\react-nodegui-starter\node_modules\nan" -DCMAKE_JS_SRC="E:/Dev/dnkrain/react-nodegui-starter/node_modules/cmake-js/lib/cpp/win_delay_load_hook.cc" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="12.16.3" -DNODE_ARCH="x64" -DCMAKE_JS_LIB="C:\Users\Feed\.cmake-js\node-x64\v12.16.3\win-x64\node.lib" -DCMAKE_SHARED_LINKER_FLAGS="/DELAYLOAD:NODE.EXE"
Not searching for unused variables given on the command line.
CMake Error at CMakeLists.txt:12 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:
The system cannot find the file specified
-- Configuring incomplete, errors occurred!
See also "E:/Dev/dnkrain/react-nodegui-starter/node_modules/@nodegui/nodegui/build/CMakeFiles/CMakeOutput.log".
ERR! OMG Process terminated: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/nodegui@0.16.1 build:addon: `cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/nodegui@0.16.1 build:addon script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Feed\AppData\Roaming\npm-cache\_logs\2020-05-09T03_18_01_356Z-debug.log
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @nodegui/nodegui@0.16.1 postinstall: `cross-env npm run setupqt && (node ./scripts/skip.js || npm run prebuild:install || npm run build:addon)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @nodegui/nodegui@0.16.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Feed\AppData\Roaming\npm-cache\_logs\2020-05-09T03_18_03_700Z-debug.log
PS E:\Dev\dnkrain\react-nodegui-starter>
Metadata
Metadata
Assignees
Labels
No labels