Create command with starters is broken
See original GitHub issueDescription
When following instructions from starters, the command does not work as expected.
Not sure what needs to be updated, docs or code?
Steps to reproduce
npm install --global @gridsome/cli
gridsome create new-site https://github.com/gridsome/gridsome-starter-blog.git
Expected result
It should create a new Gridsome installation after cloning the starter repo.
Actual result
create.js
is inserting the value of the starter
parameters within a Github URL:
// @gridsome/cli/lib/command/create.js
// line 23
const url = `https://github.com/${starter}.git`
And the command results, naturally, in an error:
❯ Clone https://github.com/https://github.com/gridsome/gridsome-starter-blog.git.git
❯ Update project package.json
❯ Install dependencies
Error: Failed to clone repository
at Object.task (/usr/local/lib/node_modules/@gridsome/cli/lib/commands/create.js:35:17)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Environment
Libs:
- gridsome version: 0.7.3
- @gridsome/cli version: 0.2.3
For Tooling issues:
- Node version: 12.10.0
- Platform: Mac
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Question #699833 “Impossible to create starter in Ubuntu 20.04”
I tried create a simple starter for displaying a text file. Title=Test1; File=/home/fck/Documents/TestArronax.
Read more >Command Prompt Broken in Windows 10 - Microsoft Community
In Windows 10, when I run "cmd", it opens the black window and closes it right away. Even running a .bat script doesn't...
Read more >yii2 starter kit console commands doesn't work - Stack Overflow
I have yii2 starter kit application and I am trying to run console commands but they're not working. For example I am staying...
Read more >Skript; Starter kit code I made... but it's broken - Minehut Forums
I created this skript and no matter what I do it gives me errors can someone please help? okay so explanation: this script...
Read more >is there a way to get the starter sword back? : r/starbound
besides admin commands you could just set up a new character, drop off their broken broadsword at some chest, note the coordinates, ...
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 FreeTop 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
Top GitHub Comments
@danrocha Can you tell how did you fix this problem. I am experiencing the same issue!
It works when using git bash instead of command prompt.