materialize: Meteor: Failed to decode downloaded font

I am getting the following warnings: Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/dist/font/roboto/Roboto-Regular.woff2 (index):1 OTS parsing error: invalid version tag (index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/dist/font/roboto/Roboto-Regular.woff (index):1 OTS parsing error: invalid version tag (index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/dist/font/roboto/Roboto-Regular.ttf (index):1 OTS parsing error: invalid version tag

These are the packages I have installed in the project:

accounts-password 1.1.3* Password support for accounts aldeed:autoform 5.7.1 Easily create forms with automatic in… aldeed:collection2 2.5.0 Automatic validation of insert and up… autopublish 1.0.4 (For prototyping only) Publish the en… blaze-html-templates 1.0.1 Compile HTML templates into reactive … cfs:gridfs 0.0.33 GridFS storage adapter for CollectionFS cfs:s3 0.1.3 Amazon Web Services S3 storage adapte… cfs:standard-packages 0.5.9 Filesystem for Meteor, collectionFS check 1.0.6* Check whether a value matches a pattern ecmascript 0.1.5* Compiler plugin that supports ES2015+… ejson 1.0.7 Extended and Extensible JSON library email 1.0.7* Send email messages fortawesome:fontawesome 4.4.0 Font Awesome (official): 500+ scalabl… fourseven:scss 3.3.3_3 Style with attitude. Sass and SCSS … insecure 1.0.4 (For prototyping only) Allow all data… iron:router 1.0.12 Routing specifically designed for Me… jquery 1.11.4 Manipulate the DOM using CSS selectors limemakers:three 0.71.0+ Three.js core library + several usef… logging 1.0.8 Logging facility. materialize:materialize 0.97.2+ Materialize (official): A modern res… meteor-base 1.0.1 Packages that every Meteor app needs meteortoys:allthings 2.1.3 Insanely Handy Development Tools for … mobile-experience 1.0.1 Packages for a great mobile user expe… mongo 1.1.2* Adaptor for using MongoDB and Minimon… polguixe:meteor-datgui 0.5.1_4 meteor-datgui is a wrapper for mete… random 1.0.4* Random number generator and utilities reload 1.1.4 Reload the page while preserving appl… session 1.1.1 Session variable spacebars 1.0.7 Handlebars-like template language for… standard-minifiers 1.0.1* Standard minifiers used with Meteor a… tracker 1.0.9 Dependency tracker to allow reactive … useraccounts:iron-routing 1.12.4 UserAccounts package providing route… useraccounts:materialize 1.12.4 Accounts Templates styled for Materi…

Anyone experiencing the same problem?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 49 (10 by maintainers)

Commits related to this issue

Most upvoted comments

@do-n-khanh type the following: meteor remove materialize:materialize meteor add materialize:materialize@=0.97.6

the same issue. Worked fine before updating to Meteor 1.4

Meteor 1.4 materialize:materialize@0.97.7 useraccounts:materialize@1.14.2

(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Medium.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Medium.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Medium.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Thin.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Thin.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Thin.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Light.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/packages/materialize_materialize/fonts/roboto/Roboto-Regular.ttf

Rolling back to 0.97.6 fixed for me as well (Meteor 1.4), thanks. Would be nice of course to have it working on the latest version.

Hi everyone, I am having this same issue now with materialize:materialize@0.100.2

It’s been exactly two years since this issue was first reported, why are we still seeing this issue? How to fix this?

This is still an issue for v0.97.7 and 0.97.8.

I created a branch on my fork with all fixes for all the bugs known to happen when using materialize with meteor. You can now clone this branch into your packages folder and rename the packages name in the packages.js described above.

cd /path/to/project/
git clone https://github.com/tomscholz/materialize.git --branch make-metor-great-again --single-branch packages/materialize/

Then open this file inside the materialize folder in your packages folder. bildschirmfoto 2016-11-29 um 11 06 08 and change

  name: 'materialize:materialize',  // http://atmospherejs.com/materialize/materialize

to something like this:

  name: 'tomscholz:materialize',  // http://atmospherejs.com/materialize/materialize

And finally run:

meteor remove materialize:materialize
meteor add tomscholz:materialize

Thanks, just a fyi you spelled materialize wrong @bruceLeeOfMeteor .