datavane / datasophon

The next generation of cloud-native big data management expert , Aims to help users rapidly build stable, efficient, and scalable cloud-native platforms for big data.
https://datasophon.github.io/datasophon-website/
Apache License 2.0
1.07k stars 376 forks source link

[Bug] [datasophon-ui] can't maven package datasophon-1.1.1 #342

Open zhegemingzimeibanquan opened 1 year ago

zhegemingzimeibanquan commented 1 year ago

Search before asking

What happened

I had download the source code of datasophon-1.1.1 ,and didn't change anhthing,why i failed when i run maven package

image [INFO] [INFO] --------------------< com.datasophon:datasophon-ui >-------------------- [INFO] Building datasophon-ui 1.1.1 [4/6] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- frontend-maven-plugin:1.10.3:install-node-and-npm (install node and npm) @ datasophon-ui --- [INFO] Node v12.16.3 is already installed. [INFO] NPM 6.14.4 is already installed. [INFO] [INFO] --- frontend-maven-plugin:1.10.3:npm (npm install) @ datasophon-ui --- [INFO] Running 'npm install --registry=https://registry.npm.taobao.org --sass-binary-site=https://npm.taobao.org/mirrors/node-sass' in D:\ideafile\datasophon-1.1.1\datasophon-ui [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\@vuepress\core\node_modules\fsevents): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-android-arm64@0.14.7 (node_modules\esbuild-android-arm64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-android-arm64@0.14.7: wanted {"os":"android","arch":"arm64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-darwin-64@0.14.7 (node_modules\esbuild-darwin-64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-darwin-64@0.14.7: wanted {"os":"darwin","arch":"x64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-freebsd-64@0.14.7 (node_modules\esbuild-freebsd-64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-freebsd-64@0.14.7: wanted {"os":"freebsd","arch":"x64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-freebsd-arm64@0.14.7 (node_modules\esbuild-freebsd-arm64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-freebsd-arm64@0.14.7: wanted {"os":"freebsd","arch":"arm64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-darwin-arm64@0.14.7 (node_modules\esbuild-darwin-arm64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-darwin-arm64@0.14.7: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-linux-32@0.14.7 (node_modules\esbuild-linux-32): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-linux-32@0.14.7: wanted {"os":"linux","arch":"ia32"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-linux-arm@0.14.7 (node_modules\esbuild-linux-arm): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-linux-arm@0.14.7: wanted {"os":"linux","arch":"arm"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-linux-mips64le@0.14.7 (node_modules\esbuild-linux-mips64le): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-linux-mips64le@0.14.7: wanted {"os":"linux","arch":"mips64el"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-linux-64@0.14.7 (node_modules\esbuild-linux-64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-linux-64@0.14.7: wanted {"os":"linux","arch":"x64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-linux-arm64@0.14.7 (node_modules\esbuild-linux-arm64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-linux-arm64@0.14.7: wanted {"os":"linux","arch":"arm64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-linux-ppc64le@0.14.7 (node_modules\esbuild-linux-ppc64le): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-linux-ppc64le@0.14.7: wanted {"os":"linux","arch":"ppc64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-netbsd-64@0.14.7 (node_modules\esbuild-netbsd-64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-netbsd-64@0.14.7: wanted {"os":"netbsd","arch":"x64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-windows-32@0.14.7 (node_modules\esbuild-windows-32): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-windows-32@0.14.7: wanted {"os":"win32","arch":"ia32"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-openbsd-64@0.14.7 (node_modules\esbuild-openbsd-64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-openbsd-64@0.14.7: wanted {"os":"openbsd","arch":"x64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-sunos-64@0.14.7 (node_modules\esbuild-sunos-64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-sunos-64@0.14.7: wanted {"os":"sunos","arch":"x64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: esbuild-windows-arm64@0.14.7 (node_modules\esbuild-windows-arm64): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for esbuild-windows-arm64@0.14.7: wanted {"os":"win32","arch":"arm64"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\watchpack-chokidar2\node_modules\fsevents): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\webpack-dev-server\node_modules\fsevents): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) [INFO] [INFO] up to date in 9.258s [INFO] [INFO] 134 packages are looking for funding [INFO] run npm fund for details [INFO] [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ datasophon-ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\ideafile\datasophon-1.1.1\datasophon-ui\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ datasophon-ui --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ datasophon-ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\ideafile\datasophon-1.1.1\datasophon-ui\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ datasophon-ui --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ datasophon-ui --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ datasophon-ui --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: D:\ideafile\datasophon-1.1.1\datasophon-ui\target\datasophon-ui-1.1.1.jar [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (default) @ datasophon-ui --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- frontend-maven-plugin:1.10.3:npm (npm run build) @ datasophon-ui --- [INFO] Running 'npm run build' in D:\ideafile\datasophon-1.1.1\datasophon-ui [INFO] [INFO] > DDHUI@1.0.0 build D:\idea__file\datasophon-1.1.1\datasophon-ui [INFO] > vue-cli-service build [INFO] [INFO] production process.env.NODE_ENV [INFO] [INFO] - Building for production... [INFO] ERROR Failed to compile with 2 errors15:58:15 [INFO] [INFO] error in ./src/components/steps/step7.vue?vue&type=script&lang=js& [INFO] [INFO] Syntax Error: TypeError: D:\ideafile\datasophon-1.1.1\datasophon-ui\src\components\steps\step7.vue: Property left of ForInStatement expected node to be of a type ["VariableDeclaration","LVal"] but instead got undefined [INFO] [INFO] [INFO] @ ./src/components/steps/step7.vue?vue&type=script&lang=js& 1:0-334 1:350-353 1:355-686 1:355-686 [INFO] @ ./src/components/steps/step7.vue [INFO] @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/steps/stpesRf.vue?vue&type=script&lang=js& [INFO] @ ./src/components/steps/stpesRf.vue?vue&type=script&lang=js& [INFO] @ ./src/components/steps/stpesRf.vue [INFO] @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/steps/index.vue?vue&type=script&lang=js& [INFO] @ ./src/components/steps/index.vue?vue&type=script&lang=js& [INFO] @ ./src/components/steps/index.vue [INFO] @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/colonyManage/list.vue?vue&type=script&lang=js& [INFO] @ ./src/pages/colonyManage/list.vue?vue&type=script&lang=js& [INFO] @ ./src/pages/colonyManage/list.vue [INFO] @ ./src/router/config.js [INFO] @ ./src/router/index.js [INFO] @ ./src/main.js [INFO] @ multi babel-polyfill whatwg-fetch ./src/main.js [INFO] [INFO] error in ./src/pages/serviceManage/setting.vue?vue&type=script&lang=js& [INFO] [INFO] Syntax Error: Thread Loader (Worker 0) [INFO] D:\idea__file\datasophon-1.1.1\datasophon-ui\src\pages\serviceManage\setting.vue: Property left of ForInStatement expected node to be of a type ["VariableDeclaration","LVal"] but instead got undefined [INFO] [INFO] [INFO] @ ./src/pages/serviceManage/setting.vue?vue&type=script&lang=js& 1:0-336 1:352-355 1:357-690 1:357-690 [INFO] @ ./src/pages/serviceManage/setting.vue [INFO] @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/serviceManage/index.vue?vue&type=script&lang=js& [INFO] @ ./src/pages/serviceManage/index.vue?vue&type=script&lang=js& [INFO] @ ./src/pages/serviceManage/index.vue [INFO] @ ./src/router/config.js [INFO] @ ./src/router/index.js [INFO] @ ./src/main.js [INFO] @ multi babel-polyfill whatwg-fetch ./src/main.js [INFO] [INFO] ERROR Build failed with errors. [INFO] npm ERR! code ELIFECYCLE [INFO] npm ERR! errno 1 [INFO] npm ERR! DDHUI@1.0.0 build: vue-cli-service build [INFO] npm ERR! Exit status 1 [INFO] npm ERR! [INFO] npm ERR! Failed at the DDHUI@1.0.0 build script. [INFO] npm ERR! This is probably not a problem with npm. There is likely additional logging output above. [INFO] [INFO] npm ERR! A complete log of this run can be found in:

What you expected to happen

package success

How to reproduce

1

Anything else

No response

Version

dev

Are you willing to submit PR?

Code of Conduct

liugddx commented 1 year ago

Install nodejs and version >= 16

zhegemingzimeibanquan commented 1 year ago

Install nodejs and version >= 16

i upgrade这nodejs version to v16.20.1,but it didn‘t work

image

"C:\Program Files\Java\jdk1.8.0_351\bin\java.exe" -Dmaven.multiModuleProjectDirectory=D:\ideafile\datasophon-1.1.1 -Djansi.passthrough=true "-Dmaven.home=D:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\plugins\maven\lib\maven3" "-Dclassworlds.conf=D:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=D:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\lib\idea_rt.jar=52385:D:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\bin" -Dfile.encoding=UTF-8 -classpath "D:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\plugins\maven\lib\maven3\boot\plexus-classworlds-2.6.0.jar;D:\Program Files\JetBrains\IntelliJ IDEA 2022.3.1\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2022.3.1 --update-snapshots -s D:\maven\settings.xml -Dmaven.repo.local=D:\maven\repository -DskipTests=true package -P windows [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.datasophon:datasophon-dao:jar:1.1.1 [WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 66, column 22 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.datasophon:datasophon-common:jar:1.1.1 [WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 63, column 22 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] datasophon [pom] [INFO] datasophon-dao [jar] [INFO] datasophon-common [jar] [INFO] datasophon-ui [jar] [INFO] datasophon-api [jar] [INFO] datasophon-worker [jar] [INFO] [INFO] ---------------------< com.datasophon:datasophon >---------------------- [INFO] Building datasophon 1.1.1 [1/6] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (default) @ datasophon --- [INFO] [INFO] -------------------< com.datasophon:datasophon-dao >-------------------- [INFO] Building datasophon-dao 1.1.1 [2/6] [INFO] --------------------------------[ jar ]--------------------------------- Downloading from huaweicloud: https://repo.huaweicloud.com/repository/maven/org/projectlombok/lombok/maven-metadata.xml Downloaded from huaweicloud: https://repo.huaweicloud.com/repository/maven/org/projectlombok/lombok/maven-metadata.xml (2.0 kB at 5.7 kB/s) [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ datasophon-dao --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 22 resources [INFO] [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ datasophon-dao --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ datasophon-dao --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\ideafile\datasophon-1.1.1\datasophon-dao\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ datasophon-dao --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ datasophon-dao --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ datasophon-dao --- [INFO] Building jar: D:\ideafile\datasophon-1.1.1\datasophon-dao\target\datasophon-dao-1.1.1.jar [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (default) @ datasophon-dao --- [INFO] Building jar: D:\ideafile\datasophon-1.1.1\datasophon-dao\target\datasophon-dao-1.1.1-sources.jar [INFO] [INFO] ------------------< com.datasophon:datasophon-common >------------------ [INFO] Building datasophon-common 1.1.1 [3/6] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ datasophon-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ datasophon-common --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ datasophon-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\ideafile\datasophon-1.1.1\datasophon-common\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ datasophon-common --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ datasophon-common --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ datasophon-common --- [INFO] Building jar: D:\ideafile\datasophon-1.1.1\datasophon-common\target\datasophon-common-1.1.1.jar [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (default) @ datasophon-common --- [INFO] Building jar: D:\ideafile\datasophon-1.1.1\datasophon-common\target\datasophon-common-1.1.1-sources.jar [INFO] [INFO] --------------------< com.datasophon:datasophon-ui >-------------------- [INFO] Building datasophon-ui 1.1.1 [4/6] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- frontend-maven-plugin:1.10.3:install-node-and-npm (install node and npm) @ datasophon-ui --- [INFO] Node v16.20.1 is already installed. [INFO] NPM 8.19.4 is already installed. [INFO] [INFO] --- frontend-maven-plugin:1.10.3:npm (npm install) @ datasophon-ui --- [INFO] Running 'npm install --registry=https://registry.npm.taobao.org --sass-binary-site=https://npm.taobao.org/mirrors/node-sass' in D:\ideafile\datasophon-1.1.1\datasophon-ui [INFO] [INFO] removed 3 packages in 3s [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ datasophon-ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\ideafile\datasophon-1.1.1\datasophon-ui\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ datasophon-ui --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ datasophon-ui --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\ideafile\datasophon-1.1.1\datasophon-ui\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ datasophon-ui --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ datasophon-ui --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ datasophon-ui --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: D:\ideafile\datasophon-1.1.1\datasophon-ui\target\datasophon-ui-1.1.1.jar [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (default) @ datasophon-ui --- [INFO] No sources in project. Archive not created. [INFO] [INFO] --- frontend-maven-plugin:1.10.3:npm (npm run build) @ datasophon-ui --- [INFO] Running 'npm run build' in D:\idea__file\datasophon-1.1.1\datasophon-ui [INFO] [INFO] > DDHUI@1.0.0 build [INFO] > vue-cli-service build [INFO] [INFO] production process.env.NODE_ENV [INFO] [INFO] - Building for production... [INFO] ERROR Failed to compile with 2 errors15:08:08 [INFO] [INFO] error in ./src/components/steps/step7.vue?vue&type=script&lang=js& [INFO] [INFO] Syntax Error: TypeError: D:\ideafile\datasophon-1.1.1\datasophon-ui\src\components\steps\step7.vue: Property left of ForInStatement expected node to be of a type ["VariableDeclaration","LVal"] but instead got undefined [INFO] [INFO] [INFO] @ ./src/components/steps/step7.vue?vue&type=script&lang=js& 1:0-334 1:350-353 1:355-686 1:355-686 [INFO] @ ./src/components/steps/step7.vue [INFO] @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/steps/stpesRf.vue?vue&type=script&lang=js& [INFO] @ ./src/components/steps/stpesRf.vue?vue&type=script&lang=js& [INFO] @ ./src/components/steps/stpesRf.vue [INFO] @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/steps/index.vue?vue&type=script&lang=js& [INFO] @ ./src/components/steps/index.vue?vue&type=script&lang=js& [INFO] @ ./src/components/steps/index.vue [INFO] @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/hostManage/index.vue?vue&type=script&lang=js& [INFO] @ ./src/pages/hostManage/index.vue?vue&type=script&lang=js& [INFO] @ ./src/pages/hostManage/index.vue [INFO] @ ./src/router/config-cluster.js [INFO] @ ./src/router/index.js [INFO] @ ./src/main.js [INFO] @ multi babel-polyfill whatwg-fetch ./src/main.js [INFO] [INFO] error in ./src/pages/serviceManage/setting.vue?vue&type=script&lang=js& [INFO] [INFO] Syntax Error: TypeError: D:\idea__file\datasophon-1.1.1\datasophon-ui\src\pages\serviceManage\setting.vue: Property left of ForInStatement expected node to be of a type ["VariableDeclaration","LVal"] but instead got undefined [INFO] [INFO] [INFO] @ ./src/pages/serviceManage/setting.vue?vue&type=script&lang=js& 1:0-336 1:352-355 1:357-690 1:357-690 [INFO] @ ./src/pages/serviceManage/setting.vue [INFO] @ ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/serviceManage/index.vue?vue&type=script&lang=js& [INFO] @ ./src/pages/serviceManage/index.vue?vue&type=script&lang=js& [INFO] @ ./src/pages/serviceManage/index.vue [INFO] @ ./src/store/modules/setting.js [INFO] @ ./src/store/modules/index.js [INFO] @ ./src/store/index.js [INFO] @ ./src/main.js [INFO] @ multi babel-polyfill whatwg-fetch ./src/main.js [INFO] [INFO] ERROR Build failed with errors. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for datasophon 1.1.1: [INFO] [INFO] datasophon ......................................... SUCCESS [ 0.449 s] [INFO] datasophon-dao ..................................... SUCCESS [ 1.786 s] [INFO] datasophon-common .................................. SUCCESS [ 0.265 s] [INFO] datasophon-ui ...................................... FAILURE [03:12 min] [INFO] datasophon-api ..................................... SKIPPED [INFO] datasophon-worker .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:15 min [INFO] Finished at: 2023-07-21T15:08:09+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.10.3:npm (npm run build) on project datasophon-ui: Failed to run task: 'npm run build' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :datasophon-ui

进程已结束,退出代码1

liugddx commented 1 year ago

Please provide what version and branch you are using

zhegemingzimeibanquan commented 1 year ago

Please provide what version and branch you are using branch-1.1.1