Blog, Website & Page Publishing

Levi_STA
Participante

Error while trying to fetch files

resolver

Hi there,

We've just recently bought a theme from the marketplace. But we're currently trying to overwrite some files in the theme to customize our website.

I'm trying this:

C:\Users\leviv\Documents\STA\Website Migratie\Website\STATheme\STATheme\css\components> hs fetch "/@marketplace/Neambo/Act3/css/components/blog-author.css"


But I get this:

[ERROR] A Error has occurred. Failed fetch of file "/@marketplace/Neambo/Act3/css/components/blog-author.css" to "C:\Users\leviv\Documents\STA\Website Migratie\Website\STATheme\STATheme\css\components" from the Design Manager


Not sure what's going wrong here, as I'm currently following one of Hubspot's blogs.

Thanks a lot in advance!

0 Avaliação positiva
1 Solução aceita
evaldas
Solução
Orientador(a) | Parceiro Platinum
Orientador(a) | Parceiro Platinum

Error while trying to fetch files

resolver

Hi @Levi_STA,

 

It looks like the article you shared might have some outdated instructions (it happens sometimes).

 

The CLI does not allow fetching assets directly from the "@marketplace/.." folder. What you will need to do is clone the file to your child theme in the Design Manager and then you will be able to fetch that cloned file from the child theme folder to be available in your code editor. 

 

 

evaldas_0-1709048898596.png

 

An article with more up-to-date information on child themes can be found here:

https://developers.hubspot.com/blog/customize-your-site-with-a-child-theme 

 

Hope this helps!

 


✔️ Did this post help answer your query? Help the community by marking it as a solution.

Exibir solução no post original

0 Avaliação positiva
2 Respostas 2
evaldas
Solução
Orientador(a) | Parceiro Platinum
Orientador(a) | Parceiro Platinum

Error while trying to fetch files

resolver

Hi @Levi_STA,

 

It looks like the article you shared might have some outdated instructions (it happens sometimes).

 

The CLI does not allow fetching assets directly from the "@marketplace/.." folder. What you will need to do is clone the file to your child theme in the Design Manager and then you will be able to fetch that cloned file from the child theme folder to be available in your code editor. 

 

 

evaldas_0-1709048898596.png

 

An article with more up-to-date information on child themes can be found here:

https://developers.hubspot.com/blog/customize-your-site-with-a-child-theme 

 

Hope this helps!

 


✔️ Did this post help answer your query? Help the community by marking it as a solution.

0 Avaliação positiva
Levi_STA
Participante

Error while trying to fetch files

resolver

Hi @evaldas!

Thank you for the quick response. That does help us out, I appreciate it!

It isn't really what we had in mind, but if there's no other way, this works.