Error: enoent: no such file or directory, stat

The gitbook project can’t run when you open it on another computer. Both gitbook serve and gitbook build report errors.

Error: ENOENT: no such file or directory, stat ‘C:\Users\Lenovo\www\mdspg\md\mybook_ book\gitbook\gitbook-plugin-fontsettings\ fontsettings.js ’

it turned out to be a bug (vision: 3.2.3).

The solution is as follows.

The following file was found in the user directory.
.gitbook\versions\3.2.3\lib\output\website\ copyPluginAssets.js

Replace all

confirm: true


confirm: false

Read More: