Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.11.6 Missing distutils module #2915

Closed
confused-Techie opened this issue Oct 20, 2023 · 1 comment · Fixed by #2923
Closed

Python 3.11.6 Missing distutils module #2915

confused-Techie opened this issue Oct 20, 2023 · 1 comment · Fixed by #2923

Comments

@confused-Techie
Copy link

confused-Techie commented Oct 20, 2023

  • Node Version: Node: v16.20.2 - NPM: 8.19.4
  • Platform: Microsoft Windows Server 2022
  • Compiler: Visual Studio Enterprise 2022: 17.7.34202.233
  • Module: Building Pulsar: git-utils
Verbose output (from npm or node-gyp):
Run nick-fields/retry@943e742917ac94714d2f408a0e8320f2d1fcafcd
yarn run v1.22.19
$ electron-rebuild
- Searching dependency tree

  binding.cpp
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
  score_match.cpp
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\memrchr.h(61,4): warning C4311: 'type cast': pointer truncation from 'const unsigned char *' to 'unsigned long' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\memrchr.h(61,4): warning C4302: 'type cast': truncation from 'const unsigned char *' to 'unsigned long' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(21,40): warning C4305: 'initializing': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(24,47): warning C4305: 'initializing': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(27,39): warning C4305: 'initializing': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(108,27): warning C4305: '=': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(111,27): warning C4305: '=': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(113,27): warning C4305: '=': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(115,27): warning C4305: '=': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(134,28): warning C4305: '*=': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\score_match.cpp(151,[26](https://github.com/pulsar-edit/pulsar/actions/runs/6570347369/job/17847608573#step:10:27)): warning C4305: '=': truncation from 'double' to 'float' [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
  MatcherBase.cpp
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\MatcherBase.cpp(26,[27](https://github.com/pulsar-edit/pulsar/actions/runs/6570347369/job/17847608573#step:10:28)): warning C4293: '<<': shift count negative or too big, undefined behavior [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\src\MatcherBase.cpp([28](https://github.com/pulsar-edit/pulsar/actions/runs/6570347369/job/17847608573#step:10:29),40): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) [D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\fuzzy-native.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\Release\fuzzy-native.lib and object D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\Release\fuzzy-native.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 1027 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  fuzzy-native.vcxproj -> D:\a\pulsar\pulsar\node_modules\@pulsar-edit\fuzzy-native\build\Release\\fuzzy-native.node

  readtags.c
  tags.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\ctags\build\ctags.vcxproj]
  tag-finder.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\ctags\build\ctags.vcxproj]
  tag-reader.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\ctags\build\ctags.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\ctags\build\Release\ctags.lib and object D:\a\pulsar\pulsar\node_modules\ctags\build\Release\ctags.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 388 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  ctags.vcxproj -> D:\a\pulsar\pulsar\node_modules\ctags\build\Release\\ctags.node
Warning: Missing input files:
D:\a\pulsar\pulsar\node_modules\git-utils\build\..\deps\libgit2\src\config_file.h

  annotated_commit.c
  apply.c
  alloc.c
  attr.c
  attr_file.c
  attrcache.c
  blame.c
  blame_git.c
  blob.c
  branch.c
  buf_text.c
  buffer.c
  cache.c
  checkout.c
  cherrypick.c
  clone.c
  commit.c
  commit_list.c
  config.c
  config_cache.c
  config_entries.c
  config_file.c
  config_parse.c
  crlf.c
  date.c
  delta.c
  describe.c
  diff.c
  diff_driver.c
  diff_file.c
  diff_generate.c
  diff_parse.c
  diff_print.c
  diff_stats.c
  diff_tform.c
  diff_xdiff.c
  errors.c
  fetch.c
  fetchhead.c
  filebuf.c
  fileops.c
  filter.c
  wildmatch.c
  global.c
  graph.c
  hash.c
  hashsig.c
  ident.c
  idxmap.c
  ignore.c
  index.c
  indexer.c
  iterator.c
  mailmap.c
  merge.c
  merge_driver.c
  merge_file.c
  message.c
  mwindow.c
  netops.c
  notes.c
  object.c
  object_api.c
  odb.c
  odb_loose.c
  odb_mempack.c
  odb_pack.c
  offmap.c
  oid.c
  oidarray.c
  oidmap.c
  pack-objects.c
  pack.c
  parse.c
  patch.c
  patch_generate.c
  patch_parse.c
  path.c
  pathspec.c
  pool.c
  posix.c
  pqueue.c
  proxy.c
  push.c
  rebase.c
  refdb.c
  refdb_fs.c
  reflog.c
  refs.c
  refspec.c
  remote.c
  repository.c
  reset.c
  revert.c
  revparse.c
  revwalk.c
  settings.c
  sha1_lookup.c
  signature.c
  sortedcache.c
  stash.c
  status.c
  stdalloc.c
  strmap.c
  submodule.c
  sysdir.c
  tag.c
  thread-utils.c
  trace.c
  trailer.c
  transaction.c
  transport.c
  tree-cache.c
  tree.c
  tsort.c
  util.c
  varint.c
  vector.c
  worktree.c
  zstream.c
  registry.c
  mbedtls.c
  openssl.c
  socket.c
  stransport.c
  tls.c
  auth.c
  auth_negotiate.c
  cred.c
  cred_helpers.c
  git.c
  http.c
  local.c
  smart.c
  smart_pkt.c
  smart_protocol.c
  ssh.c
  winhttp.c
  xdiffi.c
  xemit.c
  xhistogram.c
  xmerge.c
  xpatience.c
  xprepare.c
  xutils.c
  hash_generic.c
  net.c
  dir.c
  error.c
  findfile.c
  map.c
  path_w32.c
  posix_w32.c
  precompiled.c
  thread.c
  utf-conv.c
  w32_buffer.c
  w32_crtdbg_stacktrace.c
  w32_stack.c
  w32_util.c
  libgit2.vcxproj -> D:\a\pulsar\pulsar\node_modules\git-utils\build\Release\\libgit2.lib
  adler32.c
  crc32.c
  deflate.c
  infback.c
  inffast.c
  inflate.c
  inftrees.c
  trees.c
  zutil.c
  zlib.vcxproj -> D:\a\pulsar\pulsar\node_modules\git-utils\build\Release\\zlib.lib
  http_parser.c
  http_parser.vcxproj -> D:\a\pulsar\pulsar\node_modules\git-utils\build\Release\\http_parser.lib
  pcre_byte_order.c
  pcre_chartables.c
  pcre_compile.c
D:\a\pulsar\pulsar\node_modules\git-utils\deps\libgit2\deps\pcre\pcre_compile.c(9300,28): warning C4047: '=': 'int' differs in levels of indirection from 'char [3]' [D:\a\pulsar\pulsar\node_modules\git-utils\build\pcre.vcxproj]
  pcre_config.c
D:\a\pulsar\pulsar\node_modules\git-utils\deps\libgit2\deps\pcre\pcre_config.c(145,28): warning C4047: '=': 'int' differs in levels of indirection from 'char [3]' [D:\a\pulsar\pulsar\node_modules\git-utils\build\pcre.vcxproj]
D:\a\pulsar\pulsar\node_modules\git-utils\deps\libgit2\deps\pcre\pcre_config.c(173,56): warning C4047: '=': 'unsigned long' differs in levels of indirection from 'char [12]' [D:\a\pulsar\pulsar\node_modules\git-utils\build\pcre.vcxproj]
  pcre_dfa_exec.c
D:\a\pulsar\pulsar\node_modules\git-utils\deps\libgit2\deps\pcre\pcre_dfa_exec.c(3304,28): warning C4047: '=': 'int' differs in levels of indirection from 'char [3]' [D:\a\pulsar\pulsar\node_modules\git-utils\build\pcre.vcxproj]
  pcre_exec.c
D:\a\pulsar\pulsar\node_modules\git-utils\deps\libgit2\deps\pcre\pcre_exec.c(6505,50): warning C4047: '=': 'unsigned long' differs in levels of indirection from 'char [12]' [D:\a\pulsar\pulsar\node_modules\git-utils\build\pcre.vcxproj]
D:\a\pulsar\pulsar\node_modules\git-utils\deps\libgit2\deps\pcre\pcre_exec.c(6614,28): warning C4047: '=': 'int' differs in levels of indirection from 'char [3]' [D:\a\pulsar\pulsar\node_modules\git-utils\build\pcre.vcxproj]
  pcre_fullinfo.c
  pcre_get.c
  pcre_globals.c
  pcre_jit_compile.c
  pcre_maketables.c
  pcre_newline.c
  pcre_ord2utf8.c
  pcre_refcount.c
  pcre_string_utils.c
  pcre_study.c
  pcre_tables.c
  pcre_ucd.c
  pcre_valid_utf8.c
  pcre_version.c
  pcre_xclass.c
  pcreposix.c
  pcre.vcxproj -> D:\a\pulsar\pulsar\node_modules\git-utils\build\Release\\pcre.lib
  repository.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\git-utils\build\git.vcxproj]
D:\a\pulsar\pulsar\node_modules\git-utils\src\repository.cc(242,15): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\a\pulsar\pulsar\node_modules\git-utils\build\git.vcxproj]
D:\a\pulsar\pulsar\node_modules\git-utils\src\repository.cc(412,15): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\a\pulsar\pulsar\node_modules\git-utils\build\git.vcxproj]
D:\a\pulsar\pulsar\node_modules\git-utils\src\repository.cc(749,15): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\a\pulsar\pulsar\node_modules\git-utils\build\git.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\git-utils\build\Release\git.lib and object D:\a\pulsar\pulsar\node_modules\git-utils\build\Release\git.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 4288 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  git.vcxproj -> D:\a\pulsar\pulsar\node_modules\git-utils\build\Release\\git.node

  keyboard-layout-manager.cc
  keyboard-layout-manager-windows.cc
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.lib and object D:\a\pulsar\pulsar\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All [29](https://github.com/pulsar-edit/pulsar/actions/runs/6570347369/job/17847608573#step:10:30)3 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  keyboard-layout-manager.vcxproj -> D:\a\pulsar\pulsar\node_modules\keyboard-layout\build\Release\\keyboard-layout-manager.node

  async.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\keytar\build\keytar.vcxproj]
  main.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\keytar\build\keytar.vcxproj]
  keytar_win.cc
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\keytar\build\Release\keytar.lib and object D:\a\pulsar\pulsar\node_modules\keytar\build\Release\keytar.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 370 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  keytar.vcxproj -> D:\a\pulsar\pulsar\node_modules\keytar\build\Release\\keytar.node

  NSFW.cpp
  Queue.cpp
  NativeInterface.cpp
  Controller.cpp
  Watcher.cpp
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\nsfw\build\Release\nsfw.lib and object D:\a\pulsar\pulsar\node_modules\nsfw\build\Release\nsfw.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 1488 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  nsfw.vcxproj -> D:\a\pulsar\pulsar\node_modules\nsfw\build\Release\\nsfw.node

cl : command line  warning D9014: invalid value '2220' for '/wd'; assuming '5999' [D:\a\pulsar\pulsar\node_modules\pathwatcher\build\pathwatcher.vcxproj]
  main.cc
cl : command line  warning D9014: invalid value '2220' for '/wd'; assuming '5999' [D:\a\pulsar\pulsar\node_modules\pathwatcher\build\pathwatcher.vcxproj]
  common.cc
cl : command line  warning D9014: invalid value '2220' for '/wd'; assuming '5999' [D:\a\pulsar\pulsar\node_modules\pathwatcher\build\pathwatcher.vcxproj]
  handle_map.cc
cl : command line  warning D9014: invalid value '2220' for '/wd'; assuming '5999' [D:\a\pulsar\pulsar\node_modules\pathwatcher\build\pathwatcher.vcxproj]
  pathwatcher_win.cc
cl : command line  warning D9014: invalid value '2220' for '/wd'; assuming '5999' [D:\a\pulsar\pulsar\node_modules\pathwatcher\build\pathwatcher.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\pathwatcher\build\Release\pathwatcher.lib and object D:\a\pulsar\pulsar\node_modules\pathwatcher\build\Release\pathwatcher.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 748 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  pathwatcher.vcxproj -> D:\a\pulsar\pulsar\node_modules\pathwatcher\build\Release\\pathwatcher.node

  nothing.c
  win_delay_load_hook.cc
  nothing.vcxproj -> D:\a\pulsar\pulsar\node_modules\scrollbar-style\build\Release\\nothing.lib
  scrollbar-style-observer-non-mac.cc
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\scrollbar-style\build\Release\scrollbar-style-observer-native.lib and object D:\a\pulsar\pulsar\node_modules\scrollbar-style\build\Release\scrollbar-style-observer-native.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 267 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  scrollbar-style-observer-native.vcxproj -> D:\a\pulsar\pulsar\node_modules\scrollbar-style\build\Release\\scrollbar-style-observer-native.node
Warning: Missing input files:
D:\a\pulsar\pulsar\node_modules\spellchecker\build\..\vendor\hunspell\src\hunspell\utf_info.hxx

  affentry.cxx
  affixmgr.cxx
  csutil.cxx
  dictmgr.cxx
  filemgr.cxx
  hashmgr.cxx
  hunspell.cxx
  hunzip.cxx
  phonet.cxx
  replist.cxx
  suggestmgr.cxx
  textparser.cxx
  win_delay_load_hook.cc
  hunspell.vcxproj -> D:\a\pulsar\pulsar\node_modules\spellchecker\build\Release\\hunspell.lib
  main.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\spellchecker\build\spellchecker.vcxproj]
  worker.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\spellchecker\build\spellchecker.vcxproj]
D:\a\pulsar\pulsar\node_modules\spellchecker\src\worker.cc(45,11): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\a\pulsar\pulsar\node_modules\spellchecker\build\spellchecker.vcxproj]
  spellchecker_hunspell.cc
  spellchecker_win.cc
  transcoder_win.cc
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\spellchecker\build\Release\spellchecker.lib and object D:\a\pulsar\pulsar\node_modules\spellchecker\build\Release\spellchecker.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 1070 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  spellchecker.vcxproj -> D:\a\pulsar\pulsar\node_modules\spellchecker\build\Release\\spellchecker.node

  encoding-conversion.cc
  marker-index.cc
  patch.cc
  point.cc
  range.cc
  regex.cc
  text.cc
  text-buffer.cc
  text-slice.cc
  text-diff.cc
  libmba-diff.cc
  win_iconv.c
  win_delay_load_hook.cc
  superstring_core.vcxproj -> D:\a\pulsar\pulsar\node_modules\superstring\build\Release\\superstring_core.lib
  pcre2_chartables.c
  pcre2_auto_possess.c
  pcre2_compile.c
  pcre2_config.c
  pcre2_context.c
  pcre2_dfa_match.c
  pcre2_error.c
  pcre2_find_bracket.c
  pcre2_jit_compile.c
  pcre2_maketables.c
  pcre2_match.c
  pcre2_match_data.c
  pcre2_newline.c
  pcre2_ord2utf.c
  pcre2_pattern_info.c
  pcre2_serialize.c
  pcre2_string_utils.c
  pcre2_study.c
  pcre2_substitute.c
  pcre2_substring.c
  pcre2_tables.c
  pcre2_ucd.c
  pcre2_valid_utf.c
  pcre2_xclass.c
  win_delay_load_hook.cc
  pcre.vcxproj -> D:\a\pulsar\pulsar\node_modules\superstring\build\Release\\pcre.lib
  bindings.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  marker-index-wrapper.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  patch-wrapper.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  point-wrapper.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  range-wrapper.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  text-buffer-wrapper.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
D:\a\pulsar\pulsar\node_modules\superstring\src\bindings\text-buffer-wrapper.cc(390,21): warning C4996: 'v8::ArrayBuffer::GetContents': Use GetBackingStore. See http://crbug.com/v8/9908. [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
D:\a\pulsar\pulsar\node_modules\superstring\src\bindings\text-buffer-wrapper.cc(614,79): warning C4996: 'v8::ArrayBuffer::GetContents': Use GetBackingStore. See http://crbug.com/v8/9908. [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  text-buffer-snapshot-wrapper.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  text-reader.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  string-conversion.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  text-writer.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\superstring\build\superstring.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\superstring\build\Release\superstring.lib and object D:\a\pulsar\pulsar\node_modules\superstring\build\Release\superstring.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 4459 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  superstring.vcxproj -> D:\a\pulsar\pulsar\node_modules\superstring\build\Release\\superstring.node

  lib.c
D:\a\pulsar\pulsar\node_modules\tree-sitter\vendor\tree-sitter\lib\src\query.c(3135,51): warning C4018: '>': signed/unsigned mismatch [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter.vcxproj]
  win_delay_load_hook.cc
  tree_sitter.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter\build\Release\\tree_sitter.lib
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  conversions.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
D:\a\pulsar\pulsar\node_modules\tree-sitter\src\conversions.cc(31,48): warning C4996: 'v8::ArrayBuffer::New': Use the version that takes a BackingStore. See http://crbug.com/v8/9908. [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  language.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  logger.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  node.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
D:\a\pulsar\pulsar\node_modules\tree-sitter\src\node.cc(32,44): warning C4996: 'v8::ArrayBuffer::New': Use the version that takes a BackingStore. See http://crbug.com/v8/9908. [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  parser.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  query.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  tree.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  tree_cursor.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  util.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter\build\tree_sitter_runtime_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter\build\Release\tree_sitter_runtime_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter\build\Release\tree_sitter_runtime_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 1466 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_runtime_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter\build\Release\\tree_sitter_runtime_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-bash\build\tree_sitter_bash_binding.vcxproj]
  scanner.cc
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-bash\build\Release\tree_sitter_bash_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-bash\build\Release\tree_sitter_bash_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 177 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_bash_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-bash\build\Release\\tree_sitter_bash_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-c\build\tree_sitter_c_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-c\build\Release\tree_sitter_c_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-c\build\Release\tree_sitter_c_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 74 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_c_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-c\build\Release\\tree_sitter_c_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-cpp\build\tree_sitter_cpp_binding.vcxproj]
  scanner.cc
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-cpp\build\Release\tree_sitter_cpp_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-cpp\build\Release\tree_sitter_cpp_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 145 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_cpp_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-cpp\build\Release\\tree_sitter_cpp_binding.node

  parser.c
  scanner.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-css\build\tree_sitter_css_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-css\build\Release\tree_sitter_css_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-css\build\Release\tree_sitter_css_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 80 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_css_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-css\build\Release\\tree_sitter_css_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-embedded-template\build\tree_sitter_embedded_template_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-embedded-template\build\Release\tree_sitter_embedded_template_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-embedded-template\build\Release\tree_sitter_embedded_template_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 73 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_embedded_template_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-embedded-template\build\Release\\tree_sitter_embedded_template_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-go\build\tree_sitter_go_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-go\build\Release\tree_sitter_go_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-go\build\Release\tree_sitter_go_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 75 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_go_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-go\build\Release\\tree_sitter_go_binding.node

  parser.c
  scanner.cc
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-html\build\tree_sitter_html_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-html\build\Release\tree_sitter_html_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-html\build\Release\tree_sitter_html_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 402 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_html_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-html\build\Release\\tree_sitter_html_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-java\build\tree_sitter_java_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-java\build\Release\tree_sitter_java_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-java\build\Release\tree_sitter_java_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 74 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_java_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-java\build\Release\\tree_sitter_java_binding.node

  parser.c
  scanner.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-javascript\build\tree_sitter_javascript_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-javascript\build\Release\tree_sitter_javascript_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-javascript\build\Release\tree_sitter_javascript_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 82 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_javascript_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-javascript\build\Release\\tree_sitter_javascript_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-jsdoc\build\tree_sitter_jsdoc_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-jsdoc\build\Release\tree_sitter_jsdoc_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-jsdoc\build\Release\tree_sitter_jsdoc_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 73 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_jsdoc_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-jsdoc\build\Release\\tree_sitter_jsdoc_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-json\build\tree_sitter_json_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-json\build\Release\tree_sitter_json_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-json\build\Release\tree_sitter_json_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 73 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_json_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-json\build\Release\\tree_sitter_json_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-python\build\tree_sitter_python_binding.vcxproj]
  scanner.cc
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-python\build\Release\tree_sitter_python_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-python\build\Release\tree_sitter_python_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 240 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_python_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-python\build\Release\\tree_sitter_python_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-regex\build\tree_sitter_regex_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-regex\build\Release\tree_sitter_regex_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-regex\build\Release\tree_sitter_regex_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 73 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_regex_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-regex\build\Release\\tree_sitter_regex_binding.node

  parser.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-ruby\build\tree_sitter_ruby_binding.vcxproj]
  scanner.cc
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-ruby\build\Release\tree_sitter_ruby_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-ruby\build\Release\tree_sitter_ruby_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 317 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_ruby_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-ruby\build\Release\\tree_sitter_ruby_binding.node

  parser.c
  scanner.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-rust\build\tree_sitter_rust_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-rust\build\Release\tree_sitter_rust_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-rust\build\Release\tree_sitter_rust_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 88 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_rust_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-rust\build\Release\\tree_sitter_rust_binding.node

  parser.c
  scanner.c
  parser.c
  scanner.c
  binding.cc
C:\Users\runneradmin\.electron-gyp\12.2.3\include\node\v8.h(1650,55): warning C4996: 'v8::Module::ResolveCallback': Use ResolveModuleCallback [D:\a\pulsar\pulsar\node_modules\tree-sitter-typescript\build\tree_sitter_typescript_binding.vcxproj]
  win_delay_load_hook.cc
     Creating library D:\a\pulsar\pulsar\node_modules\tree-sitter-typescript\build\Release\tree_sitter_typescript_binding.lib and object D:\a\pulsar\pulsar\node_modules\tree-sitter-typescript\build\Release\tree_sitter_typescript_binding.exp
  Generating code
  Previous IPDB not found, fall back to full compilation.
  All 114 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
  Finished generating code
  tree_sitter_typescript_binding.vcxproj -> D:\a\pulsar\pulsar\node_modules\tree-sitter-typescript\build\Release\\tree_sitter_typescript_binding.node
✔ Rebuild Complete
Done in 328.77s.
yarn run v1.22.19
$ cd ppm && yarn install
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
$ node script/postinstall.js
>> Downloading bundled Node

>> Rebuilding apm dependencies with bundled Node v16.0.0 x64

SUCCESS: Specified value was saved.

> [email protected] install D:\a\pulsar\pulsar\ppm\node_modules\git-utils
> node-gyp rebuild


D:\a\pulsar\pulsar\ppm\node_modules\git-utils>if not defined npm_config_node_gyp (node "D:\a\pulsar\pulsar\ppm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "D:\a\pulsar\pulsar\ppm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 
undefined
Traceback (most recent call last):
  File "D:\a\pulsar\pulsar\ppm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py", line 42, in <module>
    import gyp  # noqa: E402
    ^^^^^^^^^^
  File "D:\a\pulsar\pulsar\ppm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 9, in <module>
    import gyp.input
  File "D:\a\pulsar\pulsar\ppm\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 19, in <module>
    from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (D:\a\pulsar\pulsar\ppm\node_modules\npm\node_modules\node-gyp\lib\configure.js:[30](https://github.com/pulsar-edit/pulsar/actions/runs/6570347369/job/17847608573#step:10:31)5:16)
gyp ERR! stack at ChildProcess.emit (node:events:365:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Windows_NT 10.0.20[34](https://github.com/pulsar-edit/pulsar/actions/runs/6570347369/job/17847608573#step:10:35)8
gyp ERR! command "D:\\a\\pulsar\\pulsar\\ppm\\bin\\node.exe" "D:\\a\\pulsar\\pulsar\\ppm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\a\pulsar\pulsar\ppm\node_modules\git-utils
gyp ERR! node -v v16.0.0
gyp ERR! node-gyp -v v9.4.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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:\npm\cache\_logs\2023-10-19T05_55_04_[39](https://github.com/pulsar-edit/pulsar/actions/runs/6570347369/job/17847608573#step:10:40)0Z-debug.log
Done in 176.[43](https://github.com/pulsar-edit/pulsar/actions/runs/6570347369/job/17847608573#step:10:44)s.
Command completed after 1 attempt(s).

The interesting part about this failure (Of which the logs for the failure are at the very end) is that it's reporting distutils module cannot be found, which I know is an issue on Python 3.12.x but this log comes from GitHub Actions where we installed Python 3.11.6 and we consistently see this failure after the runner started using 3.11.6 where it worked just fine with 3.11.5.

Even more interesting is the action where this occurs never reported a failure status. Although due to the logs it seems it should've.

Here's the full logs of the entire action (not just the node-gyp part: GitHub Actions Run.)

  • The installation of Python can be seen under the Setup Python step
  • The output pasted above can be seen under the Build Pulsar step

I was able to get everything working by using python3 -m pip install setuptools but still seems very strange this is occurring on an earlier Python version.

@DeeDeeG
Copy link
Contributor

DeeDeeG commented Oct 25, 2023

I'm not sure what was happening in our CI, but I still suspect it was picking up a copy of Python 3.12 somehow...

In an Ubuntu 23.10 Docker container I was able to build superstring package with Python 3.11.6. python3-setuptools and python3-distutils packages are not installed, so I expect the distutils is coming from a copy bundled with Python 3.11.6 itself?

EDIT to add: Maybe electron-rebuild is being weird (or perhaps just optimistic) about which Python version it should use?

I think for it to get to the point of running electron-rebuild, the main "first-pass" install has to succeed already, so some copy of node-gyp is basically working somewhere for us to get that far.

EDIT 2: A bit off-topic, but for reproducibility's sake: This required a workaround adding #include <cstdint> to the top of superstring/src/core/regex.h in order to build on g++ 13, by the way. Which is the default compiler version on Ubuntu 23.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants