npm i -g @angular/cli@12.1.3
mvn clean install -DskipTests -Dfast -Djava11 -Dscala-2.12 -Dhive-3.1.1 -Dskip-hive-tests
Flink Runtime Web问题
替换 npm 命令
ci —cache-max=0 —no-save
install https://registry.npmmirror.com —cache-max=0 —no-save
ng命令没有找到问题
ng: command not found
➜ flink git:(895c60940a8) ✗ cd flink-runtime-web/web-dashboard
➜ web-dashboard git:(895c60940a8) ✗ npm run build
npm WARN invalid config registry="\"https://registry.npmmirror.com/\"" set in /Users/ada/.npmrc
npm WARN invalid config Must be full url with "http://"
> flink-dashboard@2.0.0 build
> ng build --configuration production --base-href ./
sh: ng: command not found
npm install -g @angular/cli
npm i -g @angular/cli@12.1.3
找不到@angular-devkit/build-angular:browser
Could not find the ‘@angular-devkit/build-angular:browser’ builder’s node package.
https://zhuanlan.zhihu.com/p/411559435
GRPC have ‘x86_64’, need ‘arm64e’ 问题
/.pyenv/versions/3.8.12/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/grpc/_cython/cygrpc.cpython-38-darwin.so’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64e’)), ‘/usr/local/lib/cygrpc.cpython-38-darwin.so’ (no such file), ‘/usr/lib/cygrpc.cpython-38-darwin.so’ (no such file)
pip install --no-binary :all: grpcio --ignore-installed
export JAVA_HOME=opt/zulu17-aarch64
mvn clean install -DskipTests=true install -P skip-webui-build,skip-hive-tests,fast,java17,symlink-build-target,java17-target,sql-jars,scala-2.12 -T 1C --fail-at-end
mvn clean install -DskipTests=true install -P skip-webui-build,skip-hive-tests,fast,java17,symlink-build-target,java17-target,sql-jars,scala-2.12 --fail-at-end