[DEPRECATED] Augustin Lafanechere
SUB_BUILD=PLATFORM ./gradlew build
on the master branch. I'm on a Macbook M1 and I've set some specific env var as suggested in the doc (you can find it below). The build is failing on the airbyte-webapp:npmInstall
task with the error below. I installed node 16 and logged to npm with npm login
.
Env vars:
export DOCKER_BUILD_PLATFORM=linux/arm64
export DOCKER_BUILD_ARCH=arm64
export JDK_VERSION=17
export NODE_VERSION=16.13.0
export PATH="/opt/homebrew/opt/node@16/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/node@16/lib"
export CPPFLAGS="-I/opt/homebrew/opt/node@16/include"
Error:
npm ERR! code E401
npm ERR! Incorrect or missing password.
npm ERR! If you were trying to login, change your password, create an
npm ERR! authentication token or enable two-factor authentication then
npm ERR! that means you likely typed your password in incorrectly.
npm ERR! Please try again, or recover your password at:
npm ERR! <https://www.npmjs.com/forgot>
npm ERR!
npm ERR! If you were doing some other operation then your saved credentials are
npm ERR! probably out of date. To correct this please try logging in again with:
npm ERR! npm login
Davin Chia (Airbyte)
user
11/08/2021, 8:01 AMuser
11/08/2021, 8:28 AMuser
11/08/2021, 8:29 AMuser
11/08/2021, 8:29 AMuser
11/08/2021, 8:30 AMDavin Chia (Airbyte)
Davin Chia (Airbyte)
user
11/08/2021, 8:35 AMuser
11/08/2021, 1:23 PMpackage.json
. It looks like fortawesome
registry requires an auth to be downloaded, e.g. this oneuser
11/08/2021, 1:24 PM