npm i -g @angular/cli@12.1.3

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

  1. flink git:(895c60940a8) cd flink-runtime-web/web-dashboard
  2. web-dashboard git:(895c60940a8) npm run build
  3. npm WARN invalid config registry="\"https://registry.npmmirror.com/\"" set in /Users/ada/.npmrc
  4. npm WARN invalid config Must be full url with "http://"
  5. > flink-dashboard@2.0.0 build
  6. > ng build --configuration production --base-href ./
  7. sh: ng: command not found
  1. npm install -g @angular/cli
  2. 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)

  1. pip install --no-binary :all: grpcio --ignore-installed
  1. export JAVA_HOME=opt/zulu17-aarch64
  2. 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
  3. 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