-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Error reading preview.js: TypeError: e.replace is not a function
#18281
Comments
Seeing the same thing, although with un-minified names:
I debugged it a bit and the storybook/lib/store/src/autoTitle.ts Line 55 in fb8acad
Changing it to Also, not sure it's related, but I am using webpack 5. |
tysm @ahuth ! I was able to use this in conjunction with |
Yo-ho-ho!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.5-alpha.3 containing PR #18307 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Boo-yah!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.5 containing PR #18307 that references this issue. Upgrade today to the
|
Describe the bug
After upgrading to the latest storybook version (v6.5.2) we now see this error with stories assembled using
build-storybook
. It works withstart-storybook
. Any ideas why?To Reproduce
I can only reproduce in CI, sorry
Please create a reproduction by running
npx sb@next repro
and following the instructions. Read our documentation to learn more about creating reproductions.Paste your repository and deployed reproduction here. We prioritize issues with reproductions over those without.
System
Environment Info:
System:
OS: macOS 12.3.1
CPU: (8) arm64 Apple M1 Pro
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
Yarn: 1.22.17 - ~/yarn/1.22.17/bin/yarn
npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
Browsers:
Chrome: 101.0.4951.64
Firefox: 100.0
Safari: 15.4
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: