devowlio / wp-react-starter

🚀WordPress Plugin Boilerplate using modern web techs like TypeScript, SASS, and so on... on top of a local development environment with Docker and predefined GitLab CI for continous integration and deployment!
https://devowl.io/wp-react-starter/
Other
387 stars 51 forks source link

Cloning git repository hangs #12

Closed JakeGreer closed 5 years ago

JakeGreer commented 5 years ago

After running the first two commands npm install -g create-wp-react-app and create-wp-react-app create my-plugin the initialization on the prjects begins but gets stuck at Clone git repository. The loader just hangs there forever and never passes. Any idea on why this is happening. I made sure that my git email was correct and that I have an ssh key setup. Any help would be appreciated, thanks.

matzeeable commented 5 years ago

What OS/CLI are you using? Does it work when you are using create-wp-react-app with all the parameters https://github.com/matzeeable/create-wp-react-app#usage ? :-)

nthchild1 commented 5 years ago

I'm having the same issue. Running it on Windows 10 via CMD.

JakeGreer commented 5 years ago

macOS v-10.13.6. I have tried all the parameters and still no luck.

unkindee commented 5 years ago

You could try replacing repository = 'git@github.com:matzeeable/wp-reactjs-starter.git', with repository = 'https://github.com/matzeeable/wp-reactjs-starter.git' in the package create.js file, that's what I did.

matzeeable commented 5 years ago

Just applied @unkindee suggestion to change the default repository URL (it also was mentioned wrong in the create-wp-react-app create --help command). Can you please try if it works now for you? (https://github.com/matzeeable/create-wp-react-app/commit/52978787eabcfec158ead153e114a71dff6aa7f6)

JakeGreer commented 5 years ago

Yes that did the trick. Thanks!