docker-gitbook icon indicating copy to clipboard operation
docker-gitbook copied to clipboard

Getting a stat error for fontsettings.js

Open falc0nit3 opened this issue 7 years ago • 8 comments

When I run the serve command I get the following error:

serve

docker run --rm -v "$PWD:/gitbook" -p 4000:4000 billryan/gitbook gitbook serve Error: ENOENT: no such file or directory, stat '/gitbook/_book/gitbook/gitbook-plugin-fontsettings/fontsettings.js'

falc0nit3 avatar Jan 23 '18 01:01 falc0nit3

I will check GitBook changes this tonight or this weekend.

billryan avatar Jan 23 '18 04:01 billryan

Did you try init first?

billryan avatar Feb 05 '18 12:02 billryan

Yeah I did. Tried in a clean new directory and get the same behavior. Thanks for looking into it though! Much appreciated.

falc0nit3 avatar Feb 05 '18 18:02 falc0nit3

Run install first, I forgot to update it in documents.

docker run --rm -v "$PWD:/gitbook" -p 4000:4000 billryan/gitbook gitbook install

Test successfully with my repo https://github.com/billryan/algorithm-exercise

billryan avatar Feb 06 '18 02:02 billryan

Umm getting this now: Tried Install, init and then Serve and get this error then. Error: ENOENT: no such file or directory, stat '/gitbook/_book/gitbook/gitbook-plugin-highlight/ebook.css'

I'll try again on a different machine and get back to you

falc0nit3 avatar Feb 06 '18 02:02 falc0nit3

You can paste your OS/docker environment and your gitbook repo address here and I will look into it.

billryan avatar Feb 06 '18 07:02 billryan

Did anyone get a solution?

julio25frantz avatar Nov 21 '20 16:11 julio25frantz

i have the same problem

yeganehaym avatar Sep 26 '23 10:09 yeganehaym