vosk-server
vosk-server copied to clipboard
How to vue example?
How can I compile vue example? https://github.com/alphacep/vosk-server/tree/master/client-samples/vue
I try to compile vue example on MacOs with m2,but I am failed Can you tell more information about vue example Nodejs version? Compile step?
hello, you can try node: 16.17.0. My initial version was 18.16.0, but it also reported an error after running. Changing to this one will be successful.
@ch930410 sorry,I test fail with the node version 16.17.0 on Windows,error info
>node -v
v16.17.0
ERROR Failed to compile with 2 errors 16:22:06
These relative modules were not found:
* ../../assets/fonts/Cairo/Cairo-Regular.ttf in ./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-3-1!./node_modules/postcss-loader/src??ref--8-oneOf-3-2!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-3-3!./src/assets/scss/main.scss
* ../../assets/fonts/Zilla_Slab/ZillaSlab-Medium.ttf in ./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-3-1!./node_modules/postcss-loader/src??ref--8-oneOf-3-2!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-3-3!./src/assets/scss/main.scss
终止批处理操作吗(Y/N)? y
this is a resource that was not found. Please find this introduction in the code and comment on it.
Can you tell me which file and line number?I am not very good at frontend
https://github.com/alphacep/vosk-server/blob/master/client-samples/vue/src/assets/scss/_base.scss#L4 https://github.com/alphacep/vosk-server/blob/master/client-samples/vue/src/assets/scss/_base.scss#L10
Introduction of annotation font files