curlconverter/curlconverter

Cannot Install using NPM

HARSHSINGH0 opened this issue · 1 comments

npm ERR! code 1
npm ERR! path C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild
npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
npm ERR!   lib.c
npm ERR! C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\vendor\tree-sitter\lib\src\query.c(3135,51): warning C4018: '>': signed/unsigned mismatch [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter.vcxproj]
npm ERR!   win_delay_load_hook.cc
npm ERR!   tree_sitter.vcxproj -> C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\Release\\tree_sitter.lib
npm ERR!   binding.cc
npm ERR!   conversions.cc
npm ERR!   language.cc
npm ERR!   logger.cc
npm ERR! C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\src\logger.cc(44,21): error C2039: 'CreationContext': is not a member of 'v8::Function' [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
npm ERR! C:\Users\hs475\AppData\Local\node-gyp\Cache\19.8.1\include\node\v8-microtask-queue.h(18): message : see declaration of 'v8::Function' [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
npm ERR! C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\src\logger.cc(44,57): error C2665: 'Nan::Call': none of the 5 overloads could convert all the argument types [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
npm ERR! C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\nan\nan.h(1865,30): message : could be 'v8::MaybeLocal<v8::Value> Nan::Call(const Nan::Callback &,int,v8::Local<v8::Value> [])' [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
npm ERR! C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\src\logger.cc(44,57): message : while trying to match the argument list '(v8::Local<v8::Function>, int, v8::Local<v8::Value> [3])' [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
npm ERR! C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\src\logger.cc(51,62): error C2039: 'CreationContext': is not a member of 'v8::Function' [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
npm ERR! C:\Users\hs475\AppData\Local\node-gyp\Cache\19.8.1\include\node\v8-microtask-queue.h(18): message : see declaration of 'v8::Function' [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
npm ERR! C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\src\logger.cc(51,44): error C2672: 'v8::Local<v8::Object>::Cast': no matching overloaded function found [C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
npm ERR! prebuild-install WARN install No prebuilt binaries found (target=19.8.1 runtime=node arch=x64 libc= platform=win32)
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.3.0
npm ERR! gyp info using node@19.8.1 | win32 | x64
npm ERR! gyp info find Python using Python version 3.11.0 found at "C:\Python311\python.exe"
npm ERR! gyp info find VS using VS2019 (16.11.33423.256) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Python311\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   'C:\\Users\\hs475\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'msvs',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\hs475\\OneDrive\\Desktop\\curl\\curlconverter\\node_modules\\tree-sitter\\build\\config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\hs475\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\hs475\\AppData\\Local\\node-gyp\\Cache\\19.8.1\\include\\node\\common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=C:\\Users\\hs475\\AppData\\Local\\node-gyp\\Cache\\19.8.1',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\hs475\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\hs475\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\19.8.1\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\hs475\\OneDrive\\Desktop\\curl\\curlconverter\\node_modules\\tree-sitter',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'C:\\Users\\hs475\\OneDrive\\Desktop\\curl\\curlconverter\\node_modules\\tree-sitter\\build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   'build/binding.sln',
npm ERR! gyp info spawn args   '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args   '/nologo',
npm ERR! gyp info spawn args   '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
npm ERR! gyp ERR! stack     at ChildProcess.onExit (C:\Users\hs475\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:203:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR! System Windows_NT 10.0.22621
npm ERR! gyp ERR! command "C:\\Users\\hs475\\OneDrive\\Desktop\\curl\\curlconverter\\node_modules\\node\\bin\\node.exe" "C:\\Users\\hs475\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\hs475\OneDrive\Desktop\curl\curlconverter\node_modules\tree-sitter
npm ERR! gyp ERR! node -v v19.8.1
npm ERR! gyp ERR! node-gyp -v v9.3.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:

Duplicate of #521