Closed arthurming123 closed 5 months ago
Haven't ran into a build not being produced, but it definitely does not output any build messages once it's built. Will fix this.
$ npm run build
> sugarcube-starter@1.0.0 build
> node .build/build_run.js
The latest release now tells you when an error has occurred and why:
$ npm run build
> sugarcube-starter@1.0.0 build
> node .build/build_run.js
[ builder] ✔ Verifying installation.
[ builder] ✔ Building assets.
[ builder] ✔ Cleaning output directory.
[ builder] ✔ Moving media files.
[ builder] ✔ Moving font files.
[ builder] ✔ Moving stylesheets.
[ builder] ✔ Moving scripts.
[ builder] ✖ Build failed.
error: Special passage "StoryTitle" not found.
[builder] [init] Running build.
PS Dir>
Sometimes the builder just ends without an explanation. And a build is not even constructed. Without an error message, it's hard to debug.