Shopify CLI cannot pull font files and won't display font

Shopify CLI cannot pull font files and won't display font

iansymph
Shopify Partner
1 0 0

When pulling a theme from shopify, I get this error:

iansymph_0-1625713262641.png

 

I don't know why it errors like this, the theme runs okay on local using shopify theme serve but the problem is, it won't display the font on my local dev environment. I also tried pushing it to shopify hoping it will render properly online but it won't

Replies 2 (2)

EyeR
Excursionist
36 2 3

With regards to your local devel server, are you able to display this font via other means?  ie:  is the file actually valid

A casual glance for them errors implies it's some issue with Ruby on Rails failing to interpret/convert 'special' characters from the ASCII it's being fed to the UTF-8 it's wanting to use. If this was a real hosting service, I'd say just use scp to transfer.

banned

Shu-Miyao
Shopify Partner
3 0 2

Hello, to which domain is pointed for the urls of the fonts?

 

in my case, local preview cannot show fonts because of (local server) error, but it works fine on shopify server. I am using DAWN theme.

 

 

 

http://127.0.0.1:9292/fonts/montserrat/montserrat_n4.1d581f6d4bf1a97f4cbc0b88b933bc136d38d178.woff2?h1=Y3Vja29vcGFycm90LWRlbW8uYWNjb3VudC5teXNob3BpZnkuY29t&hmac=4d41ee506d52d5e97b61f8227a4f233d808bf2f6f882ea41c8ab1fb89c99d80c

 

 

 

Of course it should not load any fonts as it points to the local instead of "