Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to vue example? #221

Open
litongjava opened this issue Apr 25, 2023 · 5 comments
Open

How to vue example? #221

litongjava opened this issue Apr 25, 2023 · 5 comments

Comments

@litongjava
Copy link

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?

@ch930410
Copy link

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.

@litongjava
Copy link
Author

@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

@ch930410
Copy link

ch930410 commented May 5, 2023

this is a resource that was not found. Please find this introduction in the code and comment on it.

@litongjava
Copy link
Author

Can you tell me which file and line number?I am not very good at frontend

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

2 participants