element-call
element-call copied to clipboard
[ERROR] Could not load src/index.html: ENOENT: no such file or directory
Steps to reproduce
I am trying to build "element-call" according to the build instructions (given here: https://github.com/vector-im/element-call#host-it-yourself).
The build process fails with the below message:
yarn build
yarn run v1.22.19
$ vite build
vite v2.9.14 building for production...
✓ 0 modules transformed.
mv: no such file or directory: /element-call/dist/src/*.html
[vite:load-fallback] Could not load src/index.html: ENOENT: no such file or directory, open '\element-call\src\index.html'
error during build:
Error: Could not load src/index.html: ENOENT: no such file or directory, open '\element-call\src\index.html'
error Command failed with exit code 1.
Outcome
Error
Operating system
No response
Browser information
No response
URL for webapp
No response
Will you send logs?
No
I can't reproduce this. I assume from the backslashes in your paths that you're using Windows?
That"s right. I am using Windows. Sorry, I missed mentioning that.
Hey . I have the same probulem, I am using window and after yarn build here is my error :
vite v2.9.14 building for production...
✓ 0 modules transformed.
mv: no such file or directory: C:/Users/US/Desktop/ali/Projects/element-call/matrix-js-sdk-call/element-call/dist/src/*.html
[vite:load-fallback] Could not load src/index.html: ENOENT: no such file or directory, open 'C:\Users\US\Desktop\ali\Projects\element-call\matrix-js-sdk-call\element-call\src\index.html'
error during build:
Error: Could not load src/index.html: ENOENT: no such file or directory, open 'C:\Users\US\Desktop\ali\Projects\element-call\matrix-js-sdk-call\element-call\src\index.html'
error Command failed with exit code 1.
how can I solve it ?
That"s right. I am using Windows. Sorry, I missed mentioning that.
Hey @menturion . could you solve your problem?
@alisafa1371
I wasn't able to fix this. Tried it a while w/o success. Still hope that one of the devs (@robintown) will fix this.
@robintown @alisafa1371
This can be fixed on a Windows system by copying (i.e. not moving) the "/public/index.html"
file into the root folder "/"
.