sentialx / mouse-hooks Goto Github PK
View Code? Open in Web Editor NEWGlobal mouse events listener for Node.js
License: MIT License
Global mouse events listener for Node.js
License: MIT License
Whenever I try to run 'npm i mouse-hooks' It gives an error and doesn't successfully install.
Error:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: npm run 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.
i got error when compile wexond for 32bit and this the error
my env
win 10 home edition x64bit
nodejs 12
• rebuilding native dependencies [email protected], [email protected], [email protected], [email protected] platform=win32 arch=ia32
⨯ cannot execute cause=exit status 1
out=
> [email protected] install D:\Dev\browser\node_modules\leveldown
> node-gyp-build
> [email protected] install D:\Dev\browser\node_modules\extract-file-icon
> npm run rebuild
> [email protected] rebuild D:\Dev\browser\node_modules\extract-file-icon
> node-gyp rebuild
D:\Dev\browser\node_modules\extract-file-icon>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
addon.cc
win_delay_load_hook.cc
Creating library D:\Dev\browser\node_modules\extract-file-icon\build\Release\addon.lib and object D:\Dev\browser\node_modules\extract-file-icon\build\Release\addon.exp
addon.vcxproj -> D:\Dev\browser\node_modules\extract-file-icon\build\Release\\addon.node
> [email protected] install D:\Dev\browser\node_modules\mouse-hooks
> npm run rebuild
> [email protected] rebuild D:\Dev\browser\node_modules\mouse-hooks
> node-gyp rebuild
D:\Dev\browser\node_modules\mouse-hooks>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild
)
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
windows.cc
win_delay_load_hook.cc
Creating library D:\Dev\browser\node_modules\mouse-hooks\build\Release\addon.lib and object D:\Dev\browser\node_modules\mouse-hooks\build\Release\addon.exp
addon.vcxproj -> D:\Dev\browser\node_modules\mouse-hooks\build\Release\\addon.node
> [email protected] install D:\Dev\browser\node_modules\node-window-manager
> npm run rebuild
> [email protected] rebuild D:\Dev\browser\node_modules\node-window-manager
> node-gyp rebuild
D:\Dev\browser\node_modules\node-window-manager>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js"
rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
windows.cc
win_delay_load_hook.cc
d:\dev\browser\node_modules\node-window-manager\lib\windows.cc(89): warning C4018: '<': signed/unsigned
mismatch [D:\Dev\browser\node_modules\node-window-manager\build\addon.vcxproj]
d:\dev\browser\node_modules\node-window-manager\lib\windows.cc(96): error C2666: 'Napi::Object::operator []': 3 overloads have similar conversions [D:\Dev\browser\node_modules\node-window-manager\build\addon.vcxproj]
d:\dev\browser\node_modules\node-addon-api\napi-inl.h(868): note: could be 'Napi::Value Napi::Object::operator [](uint32_t) const' (compiling source file ..\lib\windows.cc)
d:\dev\browser\node_modules\node-addon-api\napi-inl.h(864): note: or 'Napi::Value Napi::Object::operator [](const std::string &) const' (compiling source file ..\lib\windows.cc)
d:\dev\browser\node_modules\node-addon-api\napi-inl.h(860): note: or 'Napi::Value Napi::Object::operator [](const char *) const' (compiling source file ..\lib\windows.cc)
d:\dev\browser\node_modules\node-addon-api\napi-inl.h(856): note: or 'Napi::Object::PropertyLValue<uint32_t> Napi::Object::operator [](uint32_t)' (compiling source file ..\lib\windows.cc)
d:\dev\browser\node_modules\node-addon-api\napi-inl.h(852): note: or 'Napi::Object::PropertyLValue<std::string> Napi::Object::operator [](const std::string &)' (compiling source file ..\lib\windows.cc)
d:\dev\browser\node_modules\node-addon-api\napi-inl.h(848): note: or 'Napi::Object::PropertyLValue<std::string> Napi::Object::operator [](const char *)' (compiling source file ..\lib\windows.cc)
d:\dev\browser\node_modules\node-window-manager\lib\windows.cc(96): note: or 'built-in C++ operator[(napi_value, int)'
d:\dev\browser\node_modules\node-window-manager\lib\windows.cc(96): note: while trying to match the argument list '(Napi::Array, int)'
errorOut=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\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:203:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Dev\browser\node_modules\node-window-manager
gyp ERR! node -v v12.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] rebuild: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] rebuild 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\azkanf\AppData\Roaming\npm-cache\_logs\2019-07-25T17_53_03_583Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `npm run 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:\Users\azkanf\AppData\Roaming\npm-cache\_logs\2019-07-25T17_53_03_606Z-debug.log
command='C:\Program Files\nodejs\node.exe' 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js' rebuild [email protected] [email protected] [email protected] [email protected]
workingDir=
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile-win32: `npm run build && electron-builder -w -p never --ia32 --x64`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile-win32 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\azkanf\AppData\Roaming\npm-cache\_logs\2019-07-25T17_53_22_551Z-debug.log
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.