2022-10-17 10:08:05 -04:00

24 lines
1005 B
Plaintext

- Add the `--type ember` flag to the installation command to set up Storybook manually:
```shell
npx storybook init --type ember
```
- During the install process, if you get the following warning message:
```shell
The ember generate entity-name command requires an entity name to be specified.
For more details, use ember help.
```
Update the [`@storybook/ember-cli-storybook`](https://www.npmjs.com/package/@storybook/ember-cli-storybook) package to the latest version to fix it.
- Storybook's CLI provides support for [Yarn](https://yarnpkg.com/), [npm](https://www.npmjs.com/), and [pnpm](https://pnpm.io/) package managers. If you have Yarn installed in your environment but prefer to use another as your default package manager add the `--package-manager` flag to your installation command. For example:
```shell
npx storybook init --package-manager=npm
```
- For other installation issues, check the [Ember README](../../app/ember/README.md) for additional instructions.