We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Jun 2, 2022 10:51 AM
Hi,
I have an existing react project that i am trying to convert into a module. For some reason after merging the code, and cleaning up most of the errors I am stuck on the following:
[HubSpotAutoUploadPlugin] Uploading cms-react-boilerplate/modules/app.module/module.html failed
<e> [HubSpotAutoUploadPlugin] A RequestError has occurred. Error: socket hang up
<i> [HubSpotAutoUploadPlugin] Uploaded cms-react-boilerplate/modules/app.module/fields.json to account 21098143
<i> [HubSpotAutoUploadPlugin] Uploaded cms-react-boilerplate/modules/app.module/meta.json to account 21098143
<i> [HubSpotAutoUploadPlugin] Uploaded cms-react-boilerplate/images/logo.svg to account 21098143
<i> [HubSpotAutoUploadPlugin] Uploaded cms-react-boilerplate/images/sprocket.svg to account 21098143
<e> [HubSpotAutoUploadPlugin] Uploading cms-react-boilerplate/main.js failed
<e> [HubSpotAutoUploadPlugin] Error validating template.
<e> [HubSpotAutoUploadPlugin] line 29680: Error parsing '* ...defaultStyle,
<e> * ...transitionStyles[state]
<e> *': syntax error at position -66, encountered '*', expected <IDENTIFIER>|<STRING>|<FLOAT>|<INTEGER>|'true'|'false'|'null'|'-'|'!'|'not'|'empty'|'('
<e> [HubSpotAutoUploadPlugin] line 38894: Error parsing 'js: String, css: String, vendor: String, browser: String': syntax error at position 14, encountered ':', expected '}'
<e> [HubSpotAutoUploadPlugin] line 0: Coded files must be smaller than 1.5 MiB
Any help/hint on what's going on would be super helpful!
Jun 3, 2022 6:17 PM