AudioNet / node-core-audio

Bindings for PortAudio giving JavaScript access to sound card samples (mostly unmaintained)
MIT License
330 stars 67 forks source link

Installation Error #75

Closed AliBasicCoder closed 4 years ago

AliBasicCoder commented 4 years ago

when i install this module this it what it outputs

C:\Users\pc\Desktop\aud> npm i node-core-audio

> streamws@0.1.1 install C:\Users\pc\Desktop\aud\node_modules\streamws       
> node install.js

[ws v0.1.1] Attempting to compile blazing fast native extensions.
[ws v0.1.1] Native code compile failed (but the module will still work):     
[ws v0.1.1] The native extensions are faster, but not required.
[ws v0.1.1] On Windows, native extensions require Visual Studio and Python.  
[ws v0.1.1] On Unix, native extensions require Python, make and a C++ compiler.
[ws v0.1.1] Start npm with --ws:verbose to show compilation output (if any). 

> node-core-audio@0.5.1 install C:\Users\pc\Desktop\aud\node_modules\node-core-audio
> node-gyp rebuild

C:\Users\pc\Desktop\aud\node_modules\node-core-audio>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 ) 
gyp ERR! configure error 
gyp ERR! stack Error: Command failed: C:\Users\pc\AppData\Local\Programs\Python\Python37\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];      
gyp ERR! stack                                ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)     
gyp ERR! stack     at ChildProcess.emit (events.js:188:13)
gyp ERR! stack     at maybeClose (internal/child_process.js:978:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
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 C:\Users\pc\Desktop\aud\node_modules\node-core-audio
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN aud@1.0.0 No description
npm WARN aud@1.0.0 No repository field.
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/mrose17/node-waveheader.git
npm ERR!
npm ERR! fatal: unable to look up github.com (port 9418) (No such host is known. )
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\pc\AppData\Roaming\npm-cache\_logs\2019-10-20T19_59_12_648Z-debug.log

this is happens because if the change from print "what ever" to print("whatever")