GitHub / Hubspot Integration errors

Hello, I am trying to intrgrate github and hubpot for my team. The goal is to use github as a source of truth for hubspot. I saw this demo (The Demo without the bin dir) and tried this first. I was successful at getting files to move from github to hubspot. However I get errors when I do my pushes. Specifically, I get a “exit code 2”. Not sure what this means. If I can clear the errors I can call this complete.


Everytime I run this workflow it consistently breaks on the meta.jsonn file

Hey, @KHand :waving_hand: Thanks for reaching out. Can you provide a link to the guide or repo you are referencing? Having more information can increase the ability of the community to understand your question.

Thank you! — Jaycee

Hi KHand, I had the same problem with a clone of the search-result module when uploading with the CLI. It is caused by the js assets that are linked in the module. I manually downloaded these (template.js & url-search-params.js), put it into my themes folder and updated the meta.json, then it worked:

Spoiler

{

“content_tags” : [ {

“name” : “SEARCH”,

“source” : “MARKETPLACE”

}, {

“name” : “COMPATIBLE_BLOG”,

“source” : “MARKETPLACE”

}, {

“name” : “COMPATIBLE_PAGE”,

“source” : “MARKETPLACE”

} ],

“global” : false,

“icon” : “../../../mV0_hubspot/img/icon/edited-search.svg”,

“host_template_types” : [ “PAGE” ],

“module_id” : 51527122911,

“css_assets” : [],

“js_assets” : [ {

“autoload” : true,

“path” : “../../js/hubspot/template.js”,

“name” : “template.js”

}, {

“autoload” : true,

“path” : “../../js/hubspot/url-search-params.js”,

“name” : “url-search-params.js”

} ],

“label” : “search_results”,

“is_available_for_new_content” : false

}

Thanks for sharing, @paradummy :raising_hands: — Jaycee