-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on Windows #28
Comments
I'm having the same issue here. This seems to come from the default windows git configuration when I could continue the build by launching manually the One suggestion i could make to make it work without changing user configuration would be, based on prettier documentation (emphasis by me)
https://prettier.io/docs/en/options.html#end-of-line NOTE: even the build continues, the tests also fails (some for the same line-ending mismatch reason) |
Since I wanted to find the Windows-related issues, I tried to build the project on Windows, but it failed:
Here is the log:
Welcome to Gradle 6.8.2!
Here are the highlights of this release:
For more details see https://docs.gradle.org/6.8.2/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
added 1474 packages, and audited 1475 packages in 1m
106 packages are looking for funding
run
npm fund
for detailsfound 0 vulnerabilities
npm notice
npm notice New minor version of npm available! 7.6.0 -> 7.10.0
npm notice Changelog: https:/npm/cli/releases/tag/v7.10.0
npm notice Run
npm install -g [email protected]
to update!npm notice
[14:55:44] Using gulpfile D:\dev\git\spring-asciidoctor-backends\gulpfile.js
[14:55:44] Starting 'build'...[2m 7s]
[14:55:44] Starting 'info'...
[14:55:44] Writing to $npm_config_output
[14:55:44] Finished 'info' after 798 ╬╝s
[14:55:44] Starting 'css'...
[14:55:47] Finished 'css' after 3.13 s
[14:55:47] Starting 'img'...
[14:55:47] Finished 'img' after 24 ms
[14:55:47] Starting 'jsSetup'...
[14:55:48] Finished 'jsSetup' after 977 ms
[14:55:48] Starting 'jsSite'...
[14:55:50] Finished 'jsSite' after 1.7 s
[14:55:50] Finished 'build' after 5.84 s
Checking formatting...
[warn] src\main\css\asciidoctor.css
[warn] src\main\css\codetools.css
[warn] src\main\css\components.css
[warn] src\main\css\elements.css
[warn] src\main\css\generic.css
[warn] src\main\css\highlight.css
[warn] src\main\css\layout.css
[warn] src\main\css\settings-dark.css
[warn] src\main\css\settings.css
[warn] src\main\css\site.css
[warn] src\main\css\tabs.css
[warn] src\main\css\toc.css
[warn] src\main\js\setup\layout.js
[warn] src\main\js\setup\switchtheme.js
[warn] src\main\js\site\codetools.js
[warn] src\main\js\site\tabs.js
[warn] src\main\js\site\toc.js
[warn] src\main\ruby\lib\spring-asciidoctor-backends\body_template.html
[warn] Code style issues found in the above file(s). Forgot to run Prettier?
FAILURE: Build failed with an exception.
Execution failed for task ':prettierCheckFormat'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 2m 34s
10 actionable tasks: 10 executed
The text was updated successfully, but these errors were encountered: