Package Installing from Private Gitlab Registry fails with 404

and after I deleted the pre-install-hook settings, the error becomes

error An unexpected error occurred: "http://10.4.1.2:4873/@myRepo%2f repoName: no such package available".
info If you think this is a bug, please open a bug report with the information provided in "/home/expo/workingdir/build/yarn-error.log".