installation error node-red-contrib-google-speech

hello guys,

i have a prblem to install node-red-contrib-viseo-google-speech.
every time the follwoing error is coming:
grafik

could anybody help me?

thank you very mutch

What does it show as the last dozen lines at the end of the install?
Also which versions of node and npm are you using?

node -v
npm -v

Looks like it can't find some dependencies, so it tries to compile them instead which fails because it can't find Python.

Try installing python and then try again.

See the section entitled Installing Node.js Windows Build Tools on https://nodered.org/docs/platforms/windows

i have installed windows build tools. but the problem is still there

python is already installed

v10.15.3
6.4.1

You haven't shown us the complete error log yet.
The easiest way to get that is to install it from the command line.


this is all

As I said, try it from the command line

cd ~/.node-red
npm install node-red-contrib-....

then copy/paste the whole result here. You can copy from the terminal using Ctrl-Shift-C

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. Alle Rechte vorbehalten.

C:\windows\system32>npm install node-red-contrib-viseo-google-speech

grpc@1.7.3 install C:\windows\system32\node_modules@google-cloud\text-to-spee
ch\node_modules\grpc
node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp ERR! Tried to download(403): https://storage.googleapis.com/grpc-pr
ecompiled-binaries/node/grpc/v1.7.3/node-v64-win32-x64-unknown.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for grpc@1.7.3 and node@10.15.3 (
node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://storage.googleapis.com/g
rpc-precompiled-binaries/node/grpc/v1.7.3/node-v64-win32-x64-unknown.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for grpc@1.7.3 and node@10.15.3 (
node-v64 ABI, unknown) (falling back to source compile with node-gyp)
MSBUILD : error MSB1009: Die Projektdatei ist nicht vorhanden.
Schalter: build/binding.sln
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Build Tools\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:189:13)
gyp ERR! stack at Process.ChildProcess.handle.onexit (internal/child_proces
s.js:248:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodej
s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallb
ack-to-build" "--library=static_library" "--module=C:\windows\system32\node_m
odules\@google-cloud\text-to-speech\node_modules\grpc\src\node\extension

binary\node-v64-win32-x64-unknown\grpc_node.node" "--module_name=grpc_node" "-
-module_path=C:\windows\system32\node_modules\@google-cloud\text-to-speech
\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unknown"
gyp ERR! cwd C:\windows\system32\node_modules@google-cloud\text-to-speech\node_
modules\grpc
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.e
xe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.j
s build --fallback-to-build --library=static_library --module=C:\windows\system3
2\node_modules@google-cloud\text-to-speech\node_modules\grpc\src\node\extension
_binary\node-v64-win32-x64-unknown\grpc_node.node --module_name=grpc_node --modu
le_path=C:\windows\system32\node_modules@google-cloud\text-to-speech\node_modul
es\grpc\src\node\extension_binary\node-v64-win32-x64-unknown' (1)
node-pre-gyp ERR! stack at ChildProcess. (C:\Windows\System32\nod
e_modules@google-cloud\text-to-speech\node_modules\grpc\node_modules\node-pre-g
yp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/chi
ld_process.js:259:5)
node-pre-gyp ERR! System Windows_NT 6.3.9600
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Windows\Sy
stem32\node_modules\@google-cloud\text-to-speech\node_modules\grpc\node_mo
dules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" "--libra
ry=static_library"
node-pre-gyp ERR! cwd C:\windows\system32\node_modules@google-cloud\text-to-spe
ech\node_modules\grpc
node-pre-gyp ERR! node -v v10.15.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node
_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --l
ibrary=static_library --module=C:\windows\system32\node_modules@google-cloud\te
xt-to-speech\node_modules\grpc\src\node\extension_binary\node-v64-win32-x64-unkn
own\grpc_node.node --module_name=grpc_node --module_path=C:\windows\system32\nod
e_modules@google-cloud\text-to-speech\node_modules\grpc\src\node\extension_bina
ry\node-v64-win32-x64-unknown' (1)
npm WARN enoent ENOENT: no such file or directory, open 'C:\windows\system32\pac
kage.json'
npm WARN system32 No description
npm WARN system32 No repository field.
npm WARN system32 No README data
npm WARN system32 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! grpc@1.7.3 install: node-pre-gyp install --fallback-to-build --library =static_library
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the grpc@1.7.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tobiashilsenbeck\AppData\Roaming\npm-cache_logs\2019-03-2
2T08_52_01_109Z-debug.log

I don't know much about windows but I don't think you should be installing in that directory. A windows guru will have to confirm that though (or perhaps the docs on using node-red with windows will help).

okay i have tried to install it in another directory. but this is also not possible. many errors ar coming

Which directory, and is it the right one? It should be the same one that has your flows.

PS C:\Users\tobiashilsenbeck.node-red\node_modules>?

i cann install every other node from google. for example "node-red-contrib-viseo-google-authentication".
the "node-red-contrib-viseo-google-speech" is the only one with installation error

It fails for me too, on Ubuntu with nodejs 10. It might be a node 10 issue, you could try rolling back to 8.x.

ok. thank you. i will try it

Did that help?

ERR! Tried to download(403): https://storage.googleapis.com/grpc-pr

403 error on download