Blog, Website & Page Publishing

Levi_STA
Participant

Error while trying to fetch files

SOLVE

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 Upvotes
1 Accepted solution
evaldas
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Error while trying to fetch files

SOLVE

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.

View solution in original post

0 Upvotes
2 Replies 2
evaldas
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Error while trying to fetch files

SOLVE

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 Upvotes
Levi_STA
Participant

Error while trying to fetch files

SOLVE

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.