There's a typo in the local-registry.sh script... CURRENT_YARN_REIGSTRY should be CURRENT_YARN_REGISTRY.