Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't create a new strapi project #1927

Closed
Nyeedz opened this issue Sep 10, 2018 · 8 comments
Closed

I can't create a new strapi project #1927

Nyeedz opened this issue Sep 10, 2018 · 8 comments
Labels
status: duplicate Is a duplicate of another issue

Comments

@Nyeedz
Copy link

Nyeedz commented Sep 10, 2018

Informations

  • Node.js version: 10.9.0
  • npm version:6.2.0
  • Strapi version: 3.0.0-alpha.14
  • Database: MongDB
  • Operating system: Windows 10 64 bits

What is the current behavior?
when i tried to create a new project with "strapi new project", i stay stuck, i choose MongoDB and when i chose my database name, console don't do anything.

image

Steps to reproduce the problem
when i choose 8.11.4 version of node, the problem dont show again

What is the expected behavior?
create a new project

Suggested solutions

@maturanomx
Copy link
Contributor

maturanomx commented Sep 10, 2018

Known issue on Windows. No fix by now.

Can you work on a VM or with WSL?

@maturanomx
Copy link
Contributor

You can take a look on this issue: #1281

@lauriejim lauriejim added the status: duplicate Is a duplicate of another issue label Sep 13, 2018
@wisniewski94
Copy link

I don't think it has something to do with Windows. This function doesn't work in Powershell and CMD but with Git Bash you can install strapi normally. Just look around for other cmd-type programs. Maybe even emulators will do it.

@maturanomx
Copy link
Contributor

I don't consider Bash as Windows 😋

@derrickmehaffy
Copy link
Member

I mean if your going to use bash on windows, you might as well just use WSL and get all the benefits of linux.... lol.

@jrasm91
Copy link

jrasm91 commented Oct 24, 2018

I actually was running into the same, or a very similar problem. I was able to get the new project to create by bypassing the prompt and running the command with the cli arguments.

strapi new myApp --dbclient=mongo --dbhost=<host> --dbport=27017 --dbname=development --dbusername=admin --dbpassword=admin --dbssl=true --dbauth=admin

@wisniewski94
Copy link

@jrasm91 in my case that also didn't work. I got same error as here -> #1355 (comment)

@eddyystop
Copy link

I came across your posts while searching for the same problem with my @feathers-plus/cli. This is what I've tracked down so far.

Yeoman uses queues to schedule prompts together, to schedule writing together, to schedule copy, json, tpl writes together. The prompting runs fine on Node10 including the prompting callback, but the writing task never gets started.

I've received no reponse to my issue from Yeoman yeoman/generator#1098 . No response for 14 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate Is a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

7 participants