CMS Development

ILaster
Participant

Hubspot CLI export error

SOLVE

Screenshot 2024-07-30 154343.png

I'm getting the error above when i try to export from that theme can i get assistance in either finding the root of the error fixing the error

0 Upvotes
1 Accepted solution
SteveHTM
Solution
Guide | Partner
Guide | Partner

Hubspot CLI export error

SOLVE

The intent is for you to build your site pages using a "child" @hubspot or @marketplace original theme. There are many reasons for this, but it gives you and your team access to all of the available theme "master" files, plus the option to add your own inspiration to customized the look, feel, and content. The export/upload functions of the CLI enable you to do that work using local tools - there is no need to try and export the proprietary master theme contents in order to reference them in your site.

See: https://developers.hubspot.com/docs/cms/building-blocks/themes/child-themes

 

Just an FYI - if you do for soem reason require a variant of any specific master theme file, it can be cloned from the master theme to a child theme on an as needed basis before editing.

 

Good luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature

View solution in original post

9 Replies 9
Jaycee_Lewis
Community Manager
Community Manager

Hubspot CLI export error

SOLVE

Thanks, Steve 🙌 — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Hubspot CLI export error

SOLVE

Hi @ILaster 👋 Thanks for posting. Because this is happening locally, it can be challenging for our community members to give a specific solution. Hey @KenF @SteveHTM @EddBrisley, do you have any tips you can share with @ILaster?

 

Thank you! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
SteveHTM
Guide | Partner
Guide | Partner

Hubspot CLI export error

SOLVE

@ILaster - In my experience can be a bit of a "fragile" setup and the underlying scripts get updated pretty frequently. Best advice is to make suire that everything is up to date - even to the point of reinstalling if required.

 

Good luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
ILaster
Participant

Hubspot CLI export error

SOLVE

@SteveHTM do you need a certain plan to export themes?

0 Upvotes
SteveHTM
Guide | Partner
Guide | Partner

Hubspot CLI export error

SOLVE

@ILaster - I have never bumped into such a limitation, but I've probably always had plan access to CMS/Content hub.

 

I just realized though that you seem to be referencing marketplace contents - and that set of files is protected from download for commercial reasons. Do exports from your own account working area complete properly?

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
0 Upvotes
ILaster
Participant

Hubspot CLI export error

SOLVE

@SteveHTM when I installed theme i only see it in the marketplace directory how do I get in my hubspot directory

0 Upvotes
SteveHTM
Solution
Guide | Partner
Guide | Partner

Hubspot CLI export error

SOLVE

The intent is for you to build your site pages using a "child" @hubspot or @marketplace original theme. There are many reasons for this, but it gives you and your team access to all of the available theme "master" files, plus the option to add your own inspiration to customized the look, feel, and content. The export/upload functions of the CLI enable you to do that work using local tools - there is no need to try and export the proprietary master theme contents in order to reference them in your site.

See: https://developers.hubspot.com/docs/cms/building-blocks/themes/child-themes

 

Just an FYI - if you do for soem reason require a variant of any specific master theme file, it can be cloned from the master theme to a child theme on an as needed basis before editing.

 

Good luck!

 

Steve

Steve Christian

HTM Solutions

https://info.htmsolutions.biz/meetings/stevec2

mobilePhone
+1 6195183009
emailAddress
stevec@htmsolutions.biz
website
www.htmsolutions.biz
address
San Diego, CA
Create Your Own Free Signature
ILaster
Participant

Hubspot CLI export error

SOLVE

@SteveHTM it worked thank you

0 Upvotes
ILaster
Participant

Hubspot CLI export error

SOLVE

@SteveHTM  I updated but its still not allowing me to fetch the theme 

0 Upvotes