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

The ember generate <entity-name> command requires an entity name to be specified. #12

Closed
stormwarning opened this issue Aug 8, 2019 · 9 comments · Fixed by #57
Closed
Labels
bug Something isn't working

Comments

@stormwarning
Copy link
Contributor

stormwarning commented Aug 8, 2019

Running ember install ember-cli-storybook seems to add the appropriate packages, but exits with the above error.

Looking at the blueprint it looks like @storybook/ember is added to package.json, but fails before @babel/core or babel-loader are installed.

@joegaudet
Copy link

joegaudet commented Sep 4, 2019

Still seeing this issue after #11 was resolved.

@backspace
Copy link
Contributor

Does anyone have a workaround? 😢

@backspace
Copy link
Contributor

ember install @storybook/ember-cli-storybook lets me install it at least! After that the application won’t start but I’m not sure what that’s about yet.

@gossi
Copy link
Contributor

gossi commented Jan 11, 2020

There is a fix in #27

For now do the following:

Install: ember install @storybook/ember-cli-storybook

After Install: ember g ember-cli-storybook

The second command will add required packages plus does the bootstrapping.

@teakap
Copy link

teakap commented Feb 23, 2020

ember g ember-cli-storybook

This command still returns the same error for me.

@backspace Did you find a workaround?

If I use ember install @storybook/ember-cli-storybook there is no .storybook folder created. Should I do this manually?

@meirish
Copy link
Contributor

meirish commented Mar 20, 2020

Try ember g ember-cli-storybook default to get the needed files

@gabrielcsapo gabrielcsapo added the bug Something isn't working label Jul 1, 2020
@fpauser
Copy link

fpauser commented Nov 20, 2020

I think this bug should be reopened as it seems not to be fixed.

Steps to reproduce:

ember addon addon-storybook-test && cd addon-storybook-test && ember install ember-cli-storybook

Error output:

🚧  Installing packages... This might take a couple of minutes.
Yarn: Installed @storybook/ember-cli-storybook
installing ember-cli-storybook
The `ember generate <entity-name>` command requires an entity name to be specified. For more details, use `ember help`.

Env:

$ ember -v
ember-cli: 3.21.2
node: 14.7.0
os: linux x64

@gabrielcsapo gabrielcsapo reopened this Mar 26, 2021
@gabrielcsapo
Copy link
Collaborator

re-opening this until it is fixed

@gabrielcsapo
Copy link
Collaborator

This should fix this issue #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants