elydotdev / node-windows-kill Goto Github PK
View Code? Open in Web Editor NEWEnhance node's process.kill to support signals in Windows
License: MIT License
Enhance node's process.kill to support signals in Windows
License: MIT License
Hello! Seems build on later versions of NodeJS is broken.
> [email protected] install-native D:\work\wExternalFundamentals\node_modules\windows-kill
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://github.com/alirdn/node-windows-kill/releases/download/0.3.3/windows-kill-v0.3.3-node-v72-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
windows-kill-library.cpp
signal.cpp
sender.cpp
ctrl-routine.cpp
remote-process.cpp
stdafx.cpp
node-windows-kill.cpp
win_delay_load_hook.cc
d:\work\wexternalfundamentals\node_modules\windows-kill\src\node-windows-kill.cpp(23): error C2660: 'v8::Value::NumberValue': function does not take 0 arguments [D:\work\wExternalFundamentals\
node_modules\windows-kill\build\windows-kill.vcxproj]
c:\users\fov\appdata\local\node-gyp\cache\12.13.0\include\node\v8.h(2608): note: see declaration of 'v8::Value::NumberValue' (compiling source file ..\src\node-windows-kill.cpp)
d:\work\wexternalfundamentals\node_modules\windows-kill\src\node-windows-kill.cpp(24): error C2660: 'v8::Value::NumberValue': function does not take 0 arguments [D:\work\wExternalFundamentals\
node_modules\windows-kill\build\windows-kill.vcxproj]
c:\users\fov\appdata\local\node-gyp\cache\12.13.0\include\node\v8.h(2608): note: see declaration of 'v8::Value::NumberValue' (compiling source file ..\src\node-windows-kill.cpp)
d:\work\wexternalfundamentals\node_modules\windows-kill\src\node-windows-kill.cpp(72): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\work\wExternalFu
ndamentals\node_modules\windows-kill\build\windows-kill.vcxproj]
c:\users\fov\appdata\local\node-gyp\cache\12.13.0\include\node\v8.h(5995): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\node-windows-kill.cpp)
d:\work\wexternalfundamentals\node_modules\windows-kill\src\node-windows-kill.cpp(71): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [D:\work\wExternalFundamentals\n
ode_modules\windows-kill\build\windows-kill.vcxproj]
d:\work\wexternalfundamentals\node_modules\windows-kill\src\node-windows-kill.cpp(74): error C2660: 'v8::FunctionTemplate::GetFunction': function does not take 0 arguments [D:\work\wExternalFu
ndamentals\node_modules\windows-kill\build\windows-kill.vcxproj]
c:\users\fov\appdata\local\node-gyp\cache\12.13.0\include\node\v8.h(5995): note: see declaration of 'v8::FunctionTemplate::GetFunction' (compiling source file ..\src\node-windows-kill.cpp)
d:\work\wexternalfundamentals\node_modules\windows-kill\src\node-windows-kill.cpp(73): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [D:\work\wExternalFundamentals\n
ode_modules\windows-kill\build\windows-kill.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `E:\VisualStudio\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\fov\AppData\Roaming\nvm\v12.13.0\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\fov\\AppData\\Roaming\\nvm\\v12.13.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--module=D:\\work\\wExternalFundamentals\\node_modules\\windows-kill\\lib\\binding\\windows-kill.node" "--module_name=windows-kill" "--module_path=D:\\work\\wExternalFundamentals\\node_modules\\windows-kill\\lib\\binding" "--napi_version=5" "--node_abi_napi=napi"
gyp ERR! cwd D:\work\wExternalFundamentals\node_modules\windows-kill
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\fov\AppData\Roaming\nvm\v12.13.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\work\wExternalFundamentals\node_modules\windows-kill\lib\binding\windows-kill.node --module_name=windows-kill --module_path=D:\work\wExternalFundamentals\node_modules\windows-kill\lib\binding --napi_version=5 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (D:\work\wExternalFundamentals\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:210:5)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Windows_NT 10.0.14393
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\work\\wExternalFundamentals\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd D:\work\wExternalFundamentals\node_modules\windows-kill
node-pre-gyp ERR! node -v v12.13.0
node-pre-gyp ERR! node-pre-gyp -v v0.9.1
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\fov\AppData\Roaming\nvm\v12.13.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\work\wExternalFundamentals\node_modules\windows-kill\lib\binding\windows-kill.node --module_name=windows-kill --module_path=D:\work\wExternalFundamentals\node_modules\windows-kill\lib\binding --napi_version=5 --node_abi_napi=napi' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install-native: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install-native script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\fov\AppData\Roaming\npm-cache\_logs\2019-12-11T13_25_58_160Z-debug.log
D:\work\wExternalFundamentals\node_modules\windows-kill\scripts\install.js:10
throw new Error('An issue occured during installing native module.');
^
Error: An issue occured during installing native module.
at Object.<anonymous> (D:\work\wExternalFundamentals\node_modules\windows-kill\scripts\install.js:10:15)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
at internal/main/run_main_module.js:17:11
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node scripts/install.js`
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:\Users\fov\AppData\Roaming\npm-cache\_logs\2019-12-11T13_25_58_259Z-debug.log
Hi,
I get the following errors when i try to "npm install windows-kill"
node-pre-gyp ERR! Tried to download(404): https://github.com/alirdn/node-windows-kill/releases/download/0.3.3/windows-kill-v0.3.3-node-v83-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
windows-kill-library.cpp
signal.cpp
sender.cpp
ctrl-routine.cpp
remote-process.cpp
stdafx.cpp
node-windows-kill.cpp
win_delay_load_hook.cc
c:\valbot\node_modules\windows-kill\src\node-windows-kill.cpp(23): error C2660: "v8::Value::NumberValue": Funktion akze
ptiert keine 0 Argumente [C:\ValBot\node_modules\windows-kill\build\windows-kill.vcxproj]
c:\users\steam\appdata\local\node-gyp\cache\14.16.0\include\node\v8.h(2861): note: Siehe Deklaration von "v8::Value::
NumberValue" (Quelldatei wird kompiliert ..\src\node-windows-kill.cpp)
c:\valbot\node_modules\windows-kill\src\node-windows-kill.cpp(24): error C2660: "v8::Value::NumberValue": Funktion akze
ptiert keine 0 Argumente [C:\ValBot\node_modules\windows-kill\build\windows-kill.vcxproj]
c:\users\steam\appdata\local\node-gyp\cache\14.16.0\include\node\v8.h(2861): note: Siehe Deklaration von "v8::Value::
NumberValue" (Quelldatei wird kompiliert ..\src\node-windows-kill.cpp)
c:\valbot\node_modules\windows-kill\src\node-windows-kill.cpp(72): error C2660: "v8::FunctionTemplate::GetFunction": Fu
nktion akzeptiert keine 0 Argumente [C:\ValBot\node_modules\windows-kill\build\windows-kill.vcxproj]
c:\users\steam\appdata\local\node-gyp\cache\14.16.0\include\node\v8.h(6482): note: Siehe Deklaration von "v8::Functio
nTemplate::GetFunction" (Quelldatei wird kompiliert ..\src\node-windows-kill.cpp)
c:\valbot\node_modules\windows-kill\src\node-windows-kill.cpp(71): error C2661: "v8::Object::Set": Keine überladene Fun
ktion akzeptiert 1 Argumente [C:\ValBot\node_modules\windows-kill\build\windows-kill.vcxproj]
c:\valbot\node_modules\windows-kill\src\node-windows-kill.cpp(74): error C2660: "v8::FunctionTemplate::GetFunction": Fu
nktion akzeptiert keine 0 Argumente [C:\ValBot\node_modules\windows-kill\build\windows-kill.vcxproj]
c:\users\steam\appdata\local\node-gyp\cache\14.16.0\include\node\v8.h(6482): note: Siehe Deklaration von "v8::Functio
nTemplate::GetFunction" (Quelldatei wird kompiliert ..\src\node-windows-kill.cpp)
c:\valbot\node_modules\windows-kill\src\node-windows-kill.cpp(73): error C2661: "v8::Object::Set": Keine überladene Fun
ktion akzeptiert 1 Argumente [C:\ValBot\node_modules\windows-kill\build\windows-kill.vcxproj]
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.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallback-to-build" "--module=C:\ValBot\node_modules\windows-kill\lib\binding\windows-kill.node" "--module_name=windows-kill" "--module_path=C:\ValBot\node_modules\windows-kill\lib\binding" "--napi_version=7" "--node_abi_napi=napi"
It'll be great to have Electron Prebuilds.
Hi,
It might be a good idea to place a copyright notice on the help screen.
There was some questions on
https://github.com/remy/nodemon/ about getting the source code (remy/nodemon#1853).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.