Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #
What I did
Tried to update our ember app to storybook version 7 and couldn't start storybook due to error:
Comparing
preset.js
of other frameworks led me to open this PR. But, I do not know storybook internals, so unsure if there is some special build folder for ember. But, manually modifing the url in my node_modules folder worksHow to test
npx ember new storybook-ember-issue-22203
npx storybook@6 init
(storybook init with latest tag as mentioned on your website does not work with ember, so you'll have to init version 6 and migrate to v7)npm run build
npm run storybook
/npm run build-storybook
node_modules/@storybook/ember/preset.js
storybook will not start yet (did not migrate further), but the error is gone and you'll receive another errror unrelated to this issue but maybe a following issue of storybook which would need to be addressed with a dedicated issueI pushed these steps into a repo, you can find it here
Checklist
MIGRATION.MD
Maintainers
make sure to add the
ci:merged
orci:daily
GH label to it.["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]