jwplayer / ott-web-app

Reference implementation for JWP-powered apps
Apache License 2.0
69 stars 53 forks source link

sed: can't read build/public/.webapp.ini: No such file or directory #446

Closed anoblet closed 5 months ago

anoblet commented 5 months ago

I receive this error when trying to build.

sed: can't read build/public/.webapp.ini: No such file or directory

I've copied ini\templates\.webapp.prod.ini to ini\.webapp.prod.ini, though the build command generates an empty file at build/public/.webapp.ini and I get this error. I even tried manually copying it to build/public/.webapp.ini with no success.

Any thoughts or suggestions on how I can fix this?

dbudzins commented 5 months ago

That's probably coming from the compress ini script: https://github.com/jwplayer/ott-web-app/blob/develop/scripts/compressIni.sh

Do you have a stacktrace? Can you tell which line the error happens on?

What command are you running to get this error? yarn start? yarn build?

anoblet commented 5 months ago

There's no stack trace:

image

anoblet commented 5 months ago

I ended up using WSL without an issue.

Edit: Make sure to change to the home directory(cd ~) before cloning otherwise operations are performed on the mounted filesystem which is very slow.