I am working on the Hubspot Module creation. I have completed the development. I have developed it by refereeing the docs. Now, I want to publish the Module on the Marketplace of the Hubspot. While processing it. I saw that it is giving the validation errors.
But it is not that helpful as it is not showing exactly what is going wrong. Also, I have gone through the docs but could not able to find any particular folder structure for the (Publishable) module.
Also, Here is my folder structure breakdown:
- hello-world-project
- hello-world-app
- assets (dir)
- (All images of module)
- components (dir)
- islands
- Slider.jsx
- modules
- Slider
- fields.jsx
- index.jsx
- styles (dir)
- node_modules (dir)
- .pnp.cjs
- .pnp.loader.mjs
- babel.config.json
- cms-assets.json
- hubspot.config.yml
- package.json and lock files
- vitest.config.js
- yarn.lock
- .hsignore
- hubspot.config.yml
While I am trying to run the command: hs project validate
I am getting the following error:
![]()
My questions:
1. What should be my folder structure while uploading the React CMS module to the Marketplace.
2. What procedure should I follow.
3. Which things I should take care of on the coding level.
4. Am I missing anything here?
