alphacep / vosk-server

WebSocket, gRPC and WebRTC speech recognition server based on Vosk and Kaldi libraries
Apache License 2.0
882 stars 243 forks source link

angular-cli compiling #154

Open v-yunbin opened 2 years ago

v-yunbin commented 2 years ago

@nshmyrev I am using the angular-demo,so i must compiling the angular-cli,when i run yarn to install angular dependence,met follows errors,can give me some advice?thanks!

yarn install v1.22.17
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
error An unexpected error occurred: "https://saucelabs.com/downloads/sc-4.6.4-linux.tar.gz: Request failed \"406 Not Acceptable\"".
info If you think this is a bug, please open a bug report with the information provided in "/home/ybZhang/software/angular-cli/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/instal
v-yunbin commented 2 years ago

install node v14.15.0,angular-cli v7.3.9 ,angular-devkit/build-angular v0.13.4 replace my asr service in file app.component.ts and dictate-service.ts afte all done,it compile successfully,but still can not access to the http port.

nshmyrev commented 2 years ago

Yeah, angular need update one day. I need to look on it ;)

nshmyrev commented 2 years ago

but still can not access to the http port.

You need to check javascript console for details. Exact message would help. You need HTTPS to send audio I think.