-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
PS F:\Work\Projects\king-of-pos> npm rebuild winax --runtime=electron --target=41.0.3 --dist-url=https://electronjs.org/headers --build-from-source
npm error code 1
npm error path F:\Work\Projects\king-of-pos\node_modules\winax
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm error �믮������ ������⥫쭠� ᡮઠ ��⮢ � �⮬ �襭��. �⮡� ������� ��ࠫ������ ᡮ��, ������� ��ࠬ��� "-m".
npm error main.cpp
npm error F:\Work\Projects\king-of-pos\node_modules\winax\src\utils.h(299,1): error C2661: v8::Object::GetAlignedPointerFromInternalField: ��� ��ॣ�㦥���� �㭪樨,
�ਭ����饩 1 ��㬥�⮢ [F:\Work\Projects\king-of-pos\node_modules\winax\build\node_activex.vcxproj]
npm error F:\Work\Projects\king-of-pos\node_modules\winax\src\disp.h(230): message : �믮������ ��������� ��뫪� �� ��������� 蠡��� �㭪樨 "T *NodeObject::Unwrap<DispObject>(v8::Local<v8::Object>)" [F:\Work\Projects\king-of-pos\node_modules\winax\build\node_activex.vcxproj]
npm error with
npm error [
npm error T=DispObject
npm error ]
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@11.5.0
npm error gyp info using node@22.22.0 | win32 | x64
npm error gyp info find Python using Python version 3.14.2 found at "C:\Python314\python.exe"
npm error gyp info find VS using VS2019 (16.11.35826.135) found at:
npm error gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Python314\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'F:\\Work\\Projects\\king-of-pos\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'F:\\Work\\Projects\\king-of-pos\\node_modules\\winax\\build\\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'F:\\Work\\Projects\\king-of-pos\\node_modules\\node-gyp\\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\\Users\\smilw\\AppData\\Local\\node-gyp\\Cache\\41.0.3\\include\\node\\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\\Users\\smilw\\AppData\\Local\\node-gyp\\Cache\\41.0.3',
npm error gyp info spawn args '-Dnode_gyp_dir=F:\\Work\\Projects\\king-of-pos\\node_modules\\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\smilw\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\41.0.3\\\\<(target_arch)\\\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=F:\\Work\\Projects\\king-of-pos\\node_modules\\winax',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'F:\\Work\\Projects\\king-of-pos\\node_modules\\winax\\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'build/binding.sln',
npm error gyp info spawn args '/clp:Verbosity=minimal',
npm error gyp info spawn args '/nologo',
npm error gyp info spawn args '/nodeReuse:false',
npm error gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm error gyp info spawn args ]
npm error gyp ERR! build error
npm error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
npm error gyp ERR! stack at ChildProcess.<anonymous> (F:\Work\Projects\king-of-pos\node_modules\node-gyp\lib\build.js:219:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:519:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm error gyp ERR! System Windows_NT 10.0.19045
npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "F:\\Work\\Projects\\king-of-pos\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd F:\Work\Projects\king-of-pos\node_modules\winax
npm error gyp ERR! node -v v22.22.0
npm error gyp ERR! node-gyp -v v11.5.0
npm error gyp ERR! not ok
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels