Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

OTS parsing error: invalid version tag | Failed to decode downloaded font: http://localhost:3000/static/7542ab376339625d813fe71d074ee925.woff #400

Open
geroylaurence opened this issue Jan 7, 2021 · 3 comments

Comments

@geroylaurence
Copy link

  • Operating System:
  • Node Version: v10.16.0
  • NPM Version: 6.9.0
  • webpack Version: 4.33.0
  • file-loader Version: 6.2.0

Actual Behavior

I got this warning on my project and my imported custom font is not applying as well.

I'm currently merging my application from webpack version 3 to webpack version 4, on my old version of webpack (ver3) my file-loader integration is fully working. I need help

image

Code

https://gist.github.com/geroylaurence/5f2a2ec7ad8f18333a40537cf598b444

How Do We Reproduce?

the font seems to be compiled in build folder, by the time I call the font in CSS fil then the warning pops.
app.css
html {
font-size: 100%;
font-family: 'proxima_nova_alt_rgregular';
}

@alexander-akait
Copy link
Member

Can you try to remove WriteFilePlugin?

@geroylaurence
Copy link
Author

Can you try to remove WriteFilePlugin?

didn't work, that "write-file-plugin" is a default code from "react-universal-component" boilerplate.

@alexander-akait
Copy link
Member

Sorry, I can't fix problem, because bug not from file-loader

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

No branches or pull requests

2 participants