swagger-api / swagger-api/swagger-codegen
Unable to install `swagger-codegen` using brew command on Ubuntu
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Platform: Ubuntu 18.04
Description
I'm using brew to install swagger-codegen. I installed brew like this:
$ sudo apt install linuxbrew-wrapper
Command line used
$ brew install swagger-codegen
This downloads, tries to install and ends with this message:
==> Downloading https://github.com/swagger-api/swagger-codegen/archive/v3.0.8.tar.gz
Already downloaded: /home/joerg/.cache/Homebrew/downloads/de7a723fbc25009e8afd5558e1be4ed53de8eecd7cf1d08619e49be7d045b3f6--swagger-codegen-3.0.8.tar.gz
Error: An exception occurred within a child process:
NotImplementedError: NotImplementedError
Error:* swagger-codegen is not installed, then. *
Checks made before
I have openjdk installed:
JAVA_HOME="/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin"
$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
Check version of brew:
$ brew -v
Homebrew 2.1.5
Homebrew/linuxbrew-core (git revision b1e9; last commit 2019-06-13)
Steps to reproduce
Have homebrew installed on Ubuntu. Check with brew install hello that's working properly. Than try installing swagger-codegen.
Related issues/PRs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing brew install swagger-codegen on Ubuntu 18.04, then compare it with the working brew install hello command and inspect the reported NotImplementedError. The issue names no project files or tests; done would require identifying the installation failure's source and verifying that swagger-codegen installs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, ubuntu
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100