halo-dev / plugin-starter

Halo 2.0 插件开发快速开始模板
GNU General Public License v3.0
43 stars 63 forks source link

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

Open 2327972001 opened 4 months ago

2327972001 commented 4 months ago

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.

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