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

Module build failed: UnhandledSchemeError: Reading from "data:application/x-font-ttf;charset=utf-8 #4227

Closed
sergeushenecz opened this issue Jul 15, 2021 · 12 comments

Comments

@sergeushenecz
Copy link

sergeushenecz commented Jul 15, 2021

Bug Report

Steps

After upgrade css-loader to last version 6.0.0 i have error
Module build failed: UnhandledSchemeError: Reading from "data:application/x-font-ttf;charset=utf-8;;base64,
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "data:" URIs.

semantic.min.css if remove extra semicolon in min.css
image
then compile success. But all icons not showing

Expected Result

Compile without errors

Actual Result

Errors

Version

last version

Testcase

@sergeushenecz
Copy link
Author

Fixed how write in the webpack-contrib/css-loader#1338 remove deprecated loaders.

@sergeushenecz
Copy link
Author

but semantic.min.css if remove extra semicolon in min.css to need fix. I apply patch.

@sergeushenecz sergeushenecz reopened this Jul 19, 2021
@Gamerweazel
Copy link

@sergeu90 I have same issue, removing semicolon fixes it.

@layershifter
Copy link
Member

Folks, this looks like a valid issue, but we don't maintain CSS in this repo (only React components) so there is no action from our side 😥

@dayflower
Copy link

JFYI: this issue seems to be fixed in the following PR of Fomantic-UI. (but not yet released to npm registry)
fomantic/Fomantic-UI#2028

@lubber-de

This comment was marked as spam.

@MatissJanis
Copy link

For people (such as me) still looking for a proper solution: Semantic-Org/Semantic-UI-CSS#75

@layershifter
Copy link
Member

I implemented small tool to patch files to avoid the issue, #4287 (comment)

@tdd
Copy link

tdd commented Aug 17, 2022

Hey all, FWIW fomantic-ui doesn't maintain its nightly dist-tag anymore, so we don't have access to the fix. The on-postinstall patch tool by a third party is the only workable solution so far… Gawd the maintenance state of SUI is abysmal…

Thanks for all your valiant efforts though! 👍

@lubber-de

This comment was marked as spam.

@tdd
Copy link

tdd commented Aug 17, 2022

Hey there! Thanks for the info.

I was mistaken as I'm using fomantic-ui-css (not fomantic-ui), that doesn't match the nightly dist-tag of fomantic-ui apparently.

@lubber-de

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants