npx oclif@2.0.0-main.8 generate is not working
See original GitHub issueI wanted to try out the version 2.0.0 and the new features it brings.
This turns out to be impossible as running the command
npx oclif@2.0.0-main.8 generate mynewcli
can’t succeed.
Line 75 in generators/cli.ts:
execSync('git clone https://github.com/oclif/hello-world.git ${path.resolve(this.name)}')
will do two things:
- requires you to log in with you git user, which is frustrating as this should never be necessary.
- will fail after providing your credentials with:
remote: Repository not found. fatal: repository 'https://github.com/oclif/hello-world.git/' not found
I’d love to try and tests the new software, but this is kinda frustrating. Is there something I’m not doing correctly here?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Generator Doesn't Work · Issue #829 · oclif/oclif - GitHub
I'm seeing what appears to be a different error when I attempt to run the generator. $ npx oclif generate nodcli _-----_ |...
Read more >oclif - npm
CLI Generator - Run a single command to scaffold out a fully functional CLI and get started quickly. See Usage below. Testing Helpers...
Read more >FAQs · oclif: The Open CLI Framework
How can I make the oclif generator run faster? If you're using npx, install it first with npm install -g oclif . This...
Read more >oclif - UNPKG
This is a framework for building CLIs in Node.js. This framework was built out of the [Heroku CLI](https://cli.heroku.com) but generalized to build any...
Read more >oclif | Yarn - Package Manager
oclif : create your own CLI. oclif. readme. oclif: Node.JS Open CLI Framework. Version CircleCI Downloads/week License.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @Peter-Piper, sorry about that! We just forgot to make the hello-world repo public. We just did that though, so you should be able to generate new clis now without needing to log into github 😄
Please confirm and we can close this issue.
@Peter-Piper thanks for pointing that out! I’ll put that on our backlog of things to fix