Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Is this package spawning background processes that don't close? #204

Open
kaiyoma opened this issue Apr 21, 2021 · 0 comments
Open

Is this package spawning background processes that don't close? #204

kaiyoma opened this issue Apr 21, 2021 · 0 comments

Comments

@kaiyoma
Copy link

kaiyoma commented Apr 21, 2021

This package is being pulled into my dependency tree and seems to be causing some weird behavior on my system. Namely, it's creating a directory that gets recreated if I delete it:

./common/temp/node_modules/.pnpm/snappy@6.3.5/node_modules/snappy/build/Release/obj/binding/binding.tlog

I notice that snappy has a rather significant post-install build step. Is it possible that some of those build processes are not terminating correctly? This is the kind of output I see (I'm on Windows 10):

.../snappy@6.3.5/node_modules/snappy install: gyp info find Python using Python version 3.9.1 found at "C:\Python\python.exe"
.../snappy@6.3.5/node_modules/snappy install: gyp info find VS using VS2015 (14.0) found at:
.../snappy@6.3.5/node_modules/snappy install: gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio 14.0"
.../snappy@6.3.5/node_modules/snappy install: gyp info find VS run with --verbose for detailed information
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn C:\Python\python.exe
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args [
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   'C:\\Users\\Kyle Getz\\.rush\\node-v14.15.0\\pnpm-5.18.9\\node_modules\\pnpm\\dist\\node_modules\\node-gyp\\gyp\\gyp_main.py',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   'binding.gyp',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-f',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   'msvs',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-I',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   'C:\\Work\\rogue-powershell\\common\\temp\\node_modules\\.pnpm\\snappy@6.3.5\\node_modules\\snappy\\build\\config.gypi',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-I',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   'C:\\Users\\Kyle Getz\\.rush\\node-v14.15.0\\pnpm-5.18.9\\node_modules\\pnpm\\dist\\node_modules\\node-gyp\\addon.gypi',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-I',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   'C:\\Users\\Kyle Getz\\AppData\\Local\\node-gyp\\Cache\\14.15.0\\include\\node\\common.gypi',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-Dlibrary=shared_library',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-Dvisibility=default',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-Dnode_root_dir=C:\\Users\\Kyle Getz\\AppData\\Local\\node-gyp\\Cache\\14.15.0',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\Kyle Getz\\.rush\\node-v14.15.0\\pnpm-5.18.9\\node_modules\\pnpm\\dist\\node_modules\\node-gyp',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\Kyle Getz\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\14.15.0\\\\<(target_arch)\\\\node.lib',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-Dmodule_root_dir=C:\\Work\\rogue-powershell\\common\\temp\\node_modules\\.pnpm\\snappy@6.3.5\\node_modules\\snappy',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-Dnode_engine=v8',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '--depth=.',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '--no-parallel',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '--generator-output',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   'C:\\Work\\rogue-powershell\\common\\temp\\node_modules\\.pnpm\\snappy@6.3.5\\node_modules\\snappy\\build',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '-Goutput_dir=.'
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args ]
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args [
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   'build/binding.sln',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '/clp:Verbosity=minimal',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '/nologo',
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args   '/p:Configuration=Release;Platform=x64'
.../snappy@6.3.5/node_modules/snappy install: gyp info spawn args ]
.../snappy@6.3.5/node_modules/snappy install: Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
.../snappy@6.3.5/node_modules/snappy install:   snappy-sinksource.cc
.../snappy@6.3.5/node_modules/snappy install:   snappy-stubs-internal.cc
.../snappy@6.3.5/node_modules/snappy install:   snappy.cc
.../snappy@6.3.5/node_modules/snappy install:   win_delay_load_hook.cc
.../snappy@6.3.5/node_modules/snappy install:   snappy.vcxproj -> C:\Work\rogue-powershell\common\temp\node_modules\.pnpm\snappy@6.3.5\node_modules\snappy\build\Release\\snappy.lib
.../snappy@6.3.5/node_modules/snappy install:   binding.cc
.../snappy@6.3.5/node_modules/snappy install:   win_delay_load_hook.cc
.../snappy@6.3.5/node_modules/snappy install:      Creating library C:\Work\rogue-powershell\common\temp\node_modules\.pnpm\snappy@6.3.5\node_modules\snappy\build\Release\binding.lib and object C:\Work\rogue-powershell\common\temp\node_modules\.pnpm\snappy@6.3.5\node_modules\snappy\build\Release\binding.exp
.../snappy@6.3.5/node_modules/snappy install:   Generating code
.../snappy@6.3.5/node_modules/snappy install:   All 384 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
.../snappy@6.3.5/node_modules/snappy install:   Finished generating code
.../snappy@6.3.5/node_modules/snappy install:   binding.vcxproj -> C:\Work\rogue-powershell\common\temp\node_modules\.pnpm\snappy@6.3.5\node_modules\snappy\build\Release\\binding.node
.../snappy@6.3.5/node_modules/snappy install:   binding.vcxproj -> C:\Work\rogue-powershell\common\temp\node_modules\.pnpm\snappy@6.3.5\node_modules\snappy\build\Release\binding.pdb (Full PDB)
.../snappy@6.3.5/node_modules/snappy install: gyp info ok
.../snappy@6.3.5/node_modules/snappy install: Done
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant