-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Failing to run in Lerna/Yarn Workspaces powered app with custom fonts in CSS #2193
Comments
We do use Do you have your repo online somewhere? |
No. But, I should be able to create a repro and post it to GitHub. I'll try to get to that in the next day or two. |
I'm bummed it took this long... but I finally got the time to dig into this and post a repo that reproduces the problem. https://github.com/seniorquico/storybook-2193 This appears to be an issue with using Storybook.js in a project using Lerna and/or Yarn Workspaces. The repo includes a create-react-app project that works just fine standalone. The same project copied into a Lerna/Yarn Workspaces powered project fails with the original error message I reported. I tried a quick search for existing issues, but came up dry. Did I miss some configuration? Has anyone else run into this or similar? |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks! |
Looks like updating to |
I'm having trouble loading custom fonts in CSS in a new app created using CRA.
I added the "mdi" package (for the Material Design Icons font) and added "@import '~mdi/css/materialdesignicons.css';" in the "index.css" file. When I run/build using CRA, everything works fine. However, when I run with Storybook, I get the following error (repeated multiple times for each of the font files... ttf, woff, woff2, svg):
I don't have any custom webpack configs, I'm just using the defaults from CRA. Is anyone else having problems loading custom fonts? Could this be something unique to Material Design Icons?
The text was updated successfully, but these errors were encountered: