Open qwe317149766 opened 11 months ago
E:\coding\linux_file\douyin_motrix>yarn add font-manager yarn add v1.22.19 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint@^7.12.1". warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint-plugin-import@^2.22.1". warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint-plugin-node@^11.1.0". warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint-plugin-promise@^4.2.1 || ^5.0.0". warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint-plugin-vue@^7.0.0". warning "@vue/eslint-config-standard > eslint-config-standard@16.0.3" has unmet peer dependency "eslint@^7.12.1". warning "@vue/eslint-config-standard > eslint-config-standard@16.0.3" has unmet peer dependency "eslint-plugin-import@^2.22.1". warning "@vue/eslint-config-standard > eslint-config-standard@16.0.3" has unmet peer dependency "eslint-plugin-node@^11.1.0". warning "@vue/eslint-config-standard > eslint-config-standard@16.0.3" has unmet peer dependency "eslint-plugin-promise@^4.2.1 || ^5.0.0". warning "@vue/eslint-config-standard > eslint-import-resolver-webpack@0.13.8" has unmet peer dependency "eslint-plugin-import@>=1.4.0". warning " > babel-eslint@10.1.0" has unmet peer dependency "eslint@>= 4.12.1". [5/5] Building fresh packages... [1/5] ⢀ ffmpeg-static [2/5] ⢀ sqlite3 [3/5] ⢀ electron [-/5] ⢀ waiting... error E:\coding\linux_file\douyin_motrix\node_modules\font-manager: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: E:\coding\linux_file\douyin_motrix\node_modules\font-manager Output: gyp info it worked if it ends with ok gyp info using node-gyp@10.0.1 gyp info using node@19.9.0 | win32 | x64 gyp info find Python using Python version 3.8.10 found at "C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe"
gyp info find VS using VS2017 (15.9.34118.181) found at: gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" gyp info find VS run with --verbose for detailed information gyp info spawn C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe gyp info spawn args [ gyp info spawn args 'C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp\gyp\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-I', gyp info spawn args 'E:\coding\linux_file\douyin_motrix\node_modules\font-manager\build\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\Users\Administrator\AppData\Local\node-gyp\Cache\19.9.0\include\node\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\Users\Administrator\AppData\Local\node-gyp\Cache\19.9.0', gyp info spawn args '-Dnode_gyp_dir=C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\19.9.0\\<(target_arch)\\node.lib', gyp info spawn args '-Dmodule_root_dir=E:\coding\linux_file\douyin_motrix\node_modules\font-manager', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'E:\coding\linux_file\douyin_motrix\node_modules\font-manager\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe gyp info spawn args [ gyp info spawn args 'build\binding.sln', gyp info spawn args '/clp:Verbosity=minimal', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' gyp info spawn args ] 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 FontManager.cc e:\coding\linux_file\douyin_motrix\node_modules\font-manager\src\fontdescriptor.h(176): error C2664: “bool v8::Value::BooleanValue(v8::Isolate ) const”: 无法将参数 1 从“v8::Local”转换为“v8::Isolate ” [E:\coding\linux_file\douyin_motrix\node_modules\font-manager\build\fontmanager.vcxproj] e:\coding\linux_file\douyin_motrix\node_modules\font-manager\src\fontdescriptor.h(176): note: 没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符 gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess. (C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp\lib\build.js:209:23) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) gyp ERR! System Windows_NT 10.0.22000 gyp ERR! command "D:\coding\nvm_node\node.exe" "C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd E:\coding\linux_file\douyin_motrix\node_modules\font-manager
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
E:\coding\linux_file\douyin_motrix>yarn add font-manager yarn add v1.22.19 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint@^7.12.1". warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint-plugin-import@^2.22.1". warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint-plugin-node@^11.1.0". warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint-plugin-promise@^4.2.1 || ^5.0.0". warning " > @vue/eslint-config-standard@6.1.0" has unmet peer dependency "eslint-plugin-vue@^7.0.0". warning "@vue/eslint-config-standard > eslint-config-standard@16.0.3" has unmet peer dependency "eslint@^7.12.1". warning "@vue/eslint-config-standard > eslint-config-standard@16.0.3" has unmet peer dependency "eslint-plugin-import@^2.22.1". warning "@vue/eslint-config-standard > eslint-config-standard@16.0.3" has unmet peer dependency "eslint-plugin-node@^11.1.0". warning "@vue/eslint-config-standard > eslint-config-standard@16.0.3" has unmet peer dependency "eslint-plugin-promise@^4.2.1 || ^5.0.0". warning "@vue/eslint-config-standard > eslint-import-resolver-webpack@0.13.8" has unmet peer dependency "eslint-plugin-import@>=1.4.0". warning " > babel-eslint@10.1.0" has unmet peer dependency "eslint@>= 4.12.1". [5/5] Building fresh packages... [1/5] ⢀ ffmpeg-static [2/5] ⢀ sqlite3 [3/5] ⢀ electron [-/5] ⢀ waiting... error E:\coding\linux_file\douyin_motrix\node_modules\font-manager: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: E:\coding\linux_file\douyin_motrix\node_modules\font-manager Output: gyp info it worked if it ends with ok gyp info using node-gyp@10.0.1 gyp info using node@19.9.0 | win32 | x64 gyp info find Python using Python version 3.8.10 found at "C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe"
gyp info find VS using VS2017 (15.9.34118.181) found at: gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" gyp info find VS run with --verbose for detailed information gyp info spawn C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\python.exe gyp info spawn args [ gyp info spawn args 'C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp\gyp\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-I', gyp info spawn args 'E:\coding\linux_file\douyin_motrix\node_modules\font-manager\build\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\Users\Administrator\AppData\Local\node-gyp\Cache\19.9.0\include\node\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\Users\Administrator\AppData\Local\node-gyp\Cache\19.9.0', gyp info spawn args '-Dnode_gyp_dir=C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\19.9.0\\<(target_arch)\\node.lib', gyp info spawn args '-Dmodule_root_dir=E:\coding\linux_file\douyin_motrix\node_modules\font-manager', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'E:\coding\linux_file\douyin_motrix\node_modules\font-manager\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe gyp info spawn args [ gyp info spawn args 'build\binding.sln', gyp info spawn args '/clp:Verbosity=minimal', gyp info spawn args '/nologo', gyp info spawn args '/p:Configuration=Release;Platform=x64' gyp info spawn args ] 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 FontManager.cc e:\coding\linux_file\douyin_motrix\node_modules\font-manager\src\fontdescriptor.h(176): error C2664: “bool v8::Value::BooleanValue(v8::Isolate ) const”: 无法将参数 1 从“v8::Local”转换为“v8::Isolate ” [E:\coding\linux_file\douyin_motrix\node_modules\font-manager\build\fontmanager.vcxproj]
e:\coding\linux_file\douyin_motrix\node_modules\font-manager\src\fontdescriptor.h(176): note: 没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
gyp ERR! build error
gyp ERR! stack Error: (C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp\lib\build.js:209:23)
gyp ERR! stack at ChildProcess.emit (node:events:513:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Windows_NT 10.0.22000
gyp ERR! command "D:\coding\nvm_node\node.exe" "C:\Users\Administrator\AppData\Local\Yarn\Data\global\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd E:\coding\linux_file\douyin_motrix\node_modules\font-manager
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
failed with exit code: 1 gyp ERR! stack at ChildProcess.