My local build is working but when using the CLI tool it fails