-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Strapi alpha.6 cannot create new project. strapi-generate-admin missing #315
Comments
Could you try to install Strapi with npm (version 5.3.0) and run |
With npm (5.4.2 in my case) I have the same error. To note I am installing strapi locally and not globally. So with npm I run
and the error is the same. This is because Instead if I install globally with npm it works correctly, but I have the same error if I install globally with yarn, So the problem is when I install the strapi utility locally with npm, or when I install it with yarn. |
Quickly looking at the code I wonder why a module declared in strapi/packages/strapi-generate/lib/target.js Lines 224 to 240 in acb2b57
I think the problem is related to those lines. |
I'm still experiencing this bug. Shall I open a new one?
Does anyone have an idea what's going on there? Could we re-open this issue, @Aurelsicoko? Or should I open a new one? |
The PR #317 is included in strapi@3.0.0-alpha.12.0.1, right? |
I have the same issue today. My yarn installation said I got 3.0.0-alpha.14.2 |
Try with npm please. |
Still same issue with |
You're right, we should also support local installation. However, I would suggest making a PR to support local installation because it's not one of our priorities for now. |
In this case (for non global installation), you can use npx |
Having the same problem with 3.0.0-alpha.19. |
If you are using Yarn, it's not supported by Strapi so switch to npm. |
I installed strapi with yarn in my local repo.
When running:
I get the following error:
It looks like the package
strapi-generate-admin
is not installed correctlyNode.js version:
8.7.0 **yarn version**:
v1.2.1**Strapi version**:
3.0.0-alpha.6.4`Operating system:
Mac OSx
The text was updated successfully, but these errors were encountered: