tcr / mediakeys Goto Github PK
View Code? Open in Web Editor NEWCross platform media key interception (node)
Cross platform media key interception (node)
Can't install it using npm install
[email protected] install /home/brahiansoto_me/Projects/harmony/node_modules/dbus
node-gyp configure build
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing expat.pc' to the PKG_CONFIG_PATH environment variable No package 'expat' found gyp: Call to 'pkg-config --libs-only-l --libs-only-other expat' returned exit status 1 while in binding.gyp. while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error:
gypfailed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.0-38-generic gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /home/brahiansoto_me/Projects/harmony/node_modules/dbus gyp ERR! node -v v6.7.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN install:[email protected] [email protected] install:
node-gyp configure build`
npm WARN install:[email protected] Exit status 1
[email protected] install /home/brahiansoto_me/Projects/harmony/node_modules/mediakeys
node-gyp rebuild
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing expat.pc' to the PKG_CONFIG_PATH environment variable No package 'expat' found gyp: Call to 'pkg-config --libs-only-l --libs-only-other expat' returned exit status 1 while in dbus/binding.gyp. while loading dependencies of binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error:
gypfailed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.0-38-generic gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/brahiansoto_me/Projects/harmony/node_modules/mediakeys gyp ERR! node -v v6.7.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN install:[email protected] [email protected] install:
node-gyp rebuild`
npm WARN install:[email protected] Exit status 1
I am having what appears to be this issue: #3
It seems that it was fixed for OSX, but the last comment states that it is still not resolved for Fedora 24, and I am experiencing the same issue on Ubuntu 16.04.
D:\Repos\git\vj\node_modules\mediakeys>if not defined npm_config_node_gyp (node
"C:\Program Files\iojs\node_modules\npm\bin\node-gyp-bin....\node_modules\nod
e-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
VCBUILD : error : project file 'D:\Repos\git\vj\node_modules\mediakeys\build\wi
n\MMShellHook.vcproj' was not found or not a valid project file. [D:\Repos\git
vj\node_modules\mediakeys\build\binding.sln]
VCBUILD : error : project file 'D:\Repos\git\vj\node_modules\mediakeys\build\wi
n\keylistener.vcproj' was not found or not a valid project file. [D:\Repos\git
vj\node_modules\mediakeys\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\iojs\node_modules\np
m\node_modules\node-gyp\lib\build.js:269:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\iojs\node.exe" "C:\Program Files\iojs\n
ode_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Repos\git\vj\node_modules\mediakeys
gyp ERR! node -v v2.3.3
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\iojs\node.exe" "C:\Program Files\iojs\node
_modules\npm\bin\npm-cli.js" "install" "mediakeys" "--python=c:\Python27\py
thon.exe"
npm ERR! node v2.3.3
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
Probably as simple as generating a different bitness and generating two .exe files using Gyp.
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.