Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Installation Failed while installing NPM install packages

オープン
#955 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
22/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
cmake, electron, node.js, typescript
領域
build-system

調査の方向性

The failure surfaces in scripts/postinstall.mjs, which chains into scripts/build-windows-capture.mjs; that script probes Visual Studio generators (2026, then 2022, then 2019) before CMake configures electron/native/wgc-capture. Reproduce by running npm run build:windows-capture on Windows with only VS 2026 build tools installed, where MSBuild reports MSB8020 for the missing v143 toolset. Done means the generator/toolset detection handles that configuration or the README states the required VS 2022 v143 build tools.

索引モデルが issue の本文から書いたものです。

説明

C:\Users\TECH PARTNERS\Desktop\recordly>npm install
npm notice run [email protected] postinstall
npm notice run node scripts/postinstall.mjs
[postinstall] Running npm script: rebuild:native
npm notice run [email protected] rebuild:native
npm notice run node ./node_modules/@electron/rebuild/lib/cli.js --force --only uiohook-napi
Searching dependency tree
Building modules: uiohook-napi
✔ Rebuild Complete
[postinstall] Running npm script: build:platform-native-helpers
npm notice run [email protected] build:platform-native-helpers
npm notice run npm run build:whisper-runtime && npm run build:native-helpers && npm run build:windows-capture && npm run build:windows-gpu-export && npm run build:nvidia-cuda-compositor && npm run build:cursor-monitor
npm notice run [email protected] build:whisper-runtime
npm notice run node scripts/build-whisper-runtime.mjs
[build-whisper-runtime] Whisper runtime v1.8.4 is staged for win32-x64.
npm notice run [email protected] build:native-helpers
npm notice run node scripts/build-native-helpers.mjs
[build-native-helpers] Skipping: host platform is not macOS.
npm notice run [email protected] build:windows-capture
npm notice run node scripts/build-windows-capture.mjs
[build-windows-capture] Configuring CMake...
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.19045.
CMake Error at CMakeLists.txt:2 (project):
Failed to run MSBuild command:

C:/Program Files/Microsoft Visual Studio/18/Community/MSBuild/Current/Bin/amd64/MSBuild.exe

to get the value of VCTargetsPath:

MSBuild version 18.8.2+ce25c0108 for .NET Framework
Build started 14-Sep-2026 1:37:57 am.

Project "C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj" on node 1 (default targets).
C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppBuild.targets(473,5): error MSB8020: The build tools for Visual Studio 2022 (Platform Toolset = 'v143') cannot be found. To build using the v143 build tools, please install Visual Studio 2022 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj]
Done Building Project "C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj" (default target) (1) ->
(PrepareForBuild target) ->
  C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppBuild.targets(473,5): error MSB8020: The build tools for Visual Studio 2022 (Platform Toolset = 'v143') cannot be found. To build using the v143 build tools, please install Visual Studio 2022 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.32

Exit code: 1

-- Configuring incomplete, errors occurred!
[build-windows-capture] VS 2026 generator unavailable, trying VS 2022...
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.19045.
CMake Error at CMakeLists.txt:2 (project):
Failed to run MSBuild command:

C:/Program Files/Microsoft Visual Studio/18/Community/MSBuild/Current/Bin/amd64/MSBuild.exe

to get the value of VCTargetsPath:

MSBuild version 18.8.2+ce25c0108 for .NET Framework
Build started 14-Sep-2026 1:37:57 am.

Project "C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj" on node 1 (default targets).
C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppBuild.targets(473,5): error MSB8020: The build tools for Visual Studio 2022 (Platform Toolset = 'v143') cannot be found. To build using the v143 build tools, please install Visual Studio 2022 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj]
Done Building Project "C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj" (default target) (1) ->
(PrepareForBuild target) ->
  C:\Program Files\Microsoft Visual Studio\18\Community\MSBuild\Microsoft\VC\v180\Microsoft.CppBuild.targets(473,5): error MSB8020: The build tools for Visual Studio 2022 (Platform Toolset = 'v143') cannot be found. To build using the v143 build tools, please install Visual Studio 2022 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\TECH PARTNERS\Desktop\recordly\electron\native\wgc-capture\build\CMakeFiles\4.3.1-msvc1\VCTargetsPath.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.37

Exit code: 1

-- Configuring incomplete, errors occurred!
[build-windows-capture] VS 2022 generator unavailable, trying VS 2019...
CMake Error at CMakeLists.txt:2 (project):
Generator

Visual Studio 16 2019

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!
[build-windows-capture] CMake configure failed: Command failed: "C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" .. -G "Visual Studio 16 2019" -A x64
[postinstall] "build:platform-native-helpers" exited with code 1.
npm error code 1
npm error path C:\Users\TECH PARTNERS\Desktop\recordly
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node scripts/postinstall.mjs
npm error A complete log of this run can be found in: C:\Users\TECH PARTNERS\AppData\Local\npm-cache_logs\2026-09-13T20_37_45_821Z-debug-0.log

主要言語
TypeScript
スター
32.4k
フォーク
2.6k
平均マージ
1日 22時間
マージ済み PR(30日)
18

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

webadderallorg/Recordly のほかの issue

webadderallorg/Recordly の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。