Skip to content
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

运行 ./gradlew.bat haloServer 报错 #40

Open
2327972001 opened this issue Jul 22, 2024 · 0 comments
Open

运行 ./gradlew.bat haloServer 报错 #40

2327972001 opened this issue Jul 22, 2024 · 0 comments

Comments

@2327972001
Copy link

23279@DESKTOP-1IFNKU0 MINGW64 ~/IdeaProjects/plugin-starter (main)
$ ./gradlew.bat haloServer

Task :installDepsForUI
Lockfile is up to date, resolution step is skipped
Already up to date

Done in 767ms

Task :buildFrontend

@ build C:\Users\23279\IdeaProjects\plugin-starter\ui
run-p type-check "build-only {@}" --

@ build-only C:\Users\23279\IdeaProjects\plugin-starter\ui
vite build

@ type-check C:\Users\23279\IdeaProjects\plugin-starter\ui
vue-tsc --build --force

The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.3.2 building for production...
transforming...
鉁? 12 modules transformed.
rendering chunks...
computing gzip size...
../src/main/resources/console/style.css 1.69 kB 鈹? gzip: 0.63 kB
../src/main/resources/console/main.js 15.38 kB 鈹? gzip: 6.25 kB
鉁? built in 538ms
java.lang.RuntimeException: com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException: special characters are not allowed
at [Source: (StringReader); line: 1, column: 1]
java.util.concurrent.CompletionException: java.lang.RuntimeException: com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException: special characters are not allowed
at [Source: (StringReader); line: 1, column: 1]
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.RuntimeException: com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException: special characters are not allowed
at [Source: (StringReader); line: 1, column: 1]
at run.halo.gradle.steps.InitializeHaloStep.execute(InitializeHaloStep.java:40)
at run.halo.gradle.HaloServerTask.lambda$runRemoteCommand$0(HaloServerTask.java:25)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
... 6 more
Caused by: com.fasterxml.jackson.dataformat.yaml.JacksonYAMLParseException: special characters are not allowed
at [Source: (StringReader); line: 1, column: 1]
at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:424)
at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4759)
at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:3124)
at run.halo.gradle.steps.InitializeHaloStep.initializeUserAccount(InitializeHaloStep.java:70)
at run.halo.gradle.steps.InitializeHaloStep.execute(InitializeHaloStep.java:35)
... 8 more
Caused by: unacceptable code point '?' (0x80) special characters are not allowed
in "'reader'", position 362
at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:204)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:169)
at org.yaml.snakeyaml.reader.StreamReader.ensureEnoughData(StreamReader.java:164)
at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:119)
at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:1229)
at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:345)
at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:263)
at org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart.produce(ParserImpl.java:235)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:185)
at org.yaml.snakeyaml.parser.ParserImpl.getEvent(ParserImpl.java:195)
at com.fasterxml.jackson.dataformat.yaml.YAMLParser.nextToken(YAMLParser.java:418)
... 12 more

Task :haloServer FAILED
Starting container with ID [7fdfd26aa38da92206284336676e24a68d4c88489c3521670148e9384dc3b3b1].

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':haloServer'.

Failed to start container

  • 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.

BUILD FAILED in 4s
12 actionable tasks: 7 executed, 5 up-to-date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant