# HubSpot CMS for Developers Local Issues

**URL:** <https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [February 3, 2022, 1:23am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801 "2022-02-03T01:23:33Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![JSimoneaux](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@JSimoneaux](https://community.hubspot.com/u/JSimoneaux)\
**Post date:** [February 3, 2022, 1:23am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/1 "2022-02-03T01:23:33Z")

</div>

Whenever I try to set up the local development tools on VS and run “npx @hubspot/create-cms-project test-theme”, the cloning always fails and the test-theme folder turns up empty. I thought that it may have to do deprecated messages I received with the installation of the command line but I am not sure.

 ![JSimoneaux_0-1643851302081.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/b/b33a623b4184727c95ec65c5f9f0ce5a8d7a0799.png)

Anyways, here is the clone fail message that pops up when I try to create a local theme.

 ![JSimoneaux_1-1643851402331.png](https://d2qpr2jzcazej7.cloudfront.net/original/1X/4bb9a62919528a17acd95b8350e4bfcb9d7492bb.png)

---

<div class="post-metadata">

**Author:** ![Anonymous\_03da0dbf537c3da636f81d2cc7f54a61](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anonymous_03da0dbf537c3da636f81d2cc7f54a61/32/68703_2.png) [@Anonymous\_03da0dbf537c3da636f81d2cc7f54a61](https://community.hubspot.com/u/Anonymous_03da0dbf537c3da636f81d2cc7f54a61)\
**Post date:** [February 3, 2022, 2:43pm UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/2 "2022-02-03T14:43:56Z")

</div>

Hi [JSimoneaux](https://community.hubspot.com/t5/user/viewprofilepage/user-id/318846)

First, did you install hubspot cli to your working pc ?  
If you wanna check then typed “hs” on command prompt.  
If display hs command list then install was success.

And, if hubspot cli install is success then you use “create” command of hs.  
In particular, will typed next command.

`hs create website-theme [name] [dest]`

[name] is some theme name.  
[dest] is save folder. It’s not requir. if current directly is save folder then you don’t have to typed.

Check for detail : [HubSpot CLI reference](https://developers.hubspot.com/docs/cms/developer-reference/local-development-cli)

---

<div class="post-metadata">

**Author:** ![JSimoneaux](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@JSimoneaux](https://community.hubspot.com/u/JSimoneaux)\
**Post date:** [February 3, 2022, 3:52pm UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/3 "2022-02-03T15:52:48Z")

</div>

Yes I tried installing the hupsot cli to my project and my working pc and neither have me results. I am trying to stick the video recommended for the certification but it just won’t let me move forward.

---

<div class="post-metadata">

**Author:** ![Anonymous\_03da0dbf537c3da636f81d2cc7f54a61](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anonymous_03da0dbf537c3da636f81d2cc7f54a61/32/68703_2.png) [@Anonymous\_03da0dbf537c3da636f81d2cc7f54a61](https://community.hubspot.com/u/Anonymous_03da0dbf537c3da636f81d2cc7f54a61)\
**Post date:** [February 4, 2022, 12:22am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/4 "2022-02-04T00:22:18Z")

</div>

I see.

You must check the installing Node.js.  
To do check to success of installing Node.js, to type next command.

`node -v`

If appear version number, its okey (ex: v12.14.0). Else if not success, 'cause you have to install Node.js again.  
If you success installing Node.js then type next command and install hubspot cli.

`npm install -g @hubspot/cli`

And after installing, type next command.

`hs`

If you success installing hubspot cli then appear hs command list.  
Let’s try and I hope your success.

---

<div class="post-metadata">

**Author:** ![JSimoneaux](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@JSimoneaux](https://community.hubspot.com/u/JSimoneaux)\
**Post date:** [February 4, 2022, 10:24pm UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/5 "2022-02-04T22:24:04Z")

</div>

I have both Node and hubspot cli installed. I was able to procure an access key and create an unique name to reference the account, but after that is when I try to create a theme from Boilerplates and fail.

---

<div class="post-metadata">

**Author:** ![Anonymous\_03da0dbf537c3da636f81d2cc7f54a61](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anonymous_03da0dbf537c3da636f81d2cc7f54a61/32/68703_2.png) [@Anonymous\_03da0dbf537c3da636f81d2cc7f54a61](https://community.hubspot.com/u/Anonymous_03da0dbf537c3da636f81d2cc7f54a61)\
**Post date:** [February 7, 2022, 12:33am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/6 "2022-02-07T00:33:45Z")

</div>

Now, your status are

Node.js was installed : Yes  
Hubspot cli was installed : Yes  
Accesskey was registered : Yes  
You tryed to making themes with hubspot cli : Fail

Are these right ?

First, other hs command is working right ?  
Is syntax right of create command ?

You’ll type create command for making theme is like this.

`hs create website-theme [any name] [your local pc's directly]`

---

<div class="post-metadata">

**Author:** ![JSimoneaux](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@JSimoneaux](https://community.hubspot.com/u/JSimoneaux)\
**Post date:** [February 7, 2022, 12:46am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/7 "2022-02-07T00:46:39Z")

</div>

All of that is correct except for the syntax for the create command. First, I have to use npx in front of all my commands since I am using the VS terminal. Second, the video recommended I use @hubspt/create-test-theme [theme name] to clone the theme.

---

<div class="post-metadata">

**Author:** ![Anonymous\_03da0dbf537c3da636f81d2cc7f54a61](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anonymous_03da0dbf537c3da636f81d2cc7f54a61/32/68703_2.png) [@Anonymous\_03da0dbf537c3da636f81d2cc7f54a61](https://community.hubspot.com/u/Anonymous_03da0dbf537c3da636f81d2cc7f54a61)\
**Post date:** [February 8, 2022, 1:12am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/8 "2022-02-08T01:12:46Z")

</div>

Ok, no problem. I used VS code editor too.  
Not have to use npx command.  
Look image of under. I used only hs command.

I introduced hs command in prev comment.  
I used that.

 ![designs-2022-02-08-at-9.54.41-AM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/e/aec55187cd0ba7cf43639ec0690a986d95d389d6.png)  
hs command

I could create new theme folder.

 ![sample-themes-2022-02-08-at-9.57.35-AM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/6/e64b97f1ffb6f0bb371280bef119e6db321d3d34.png)  
created folder

You’ll try it.

---

<div class="post-metadata">

**Author:** ![LChen49](https://avatars.discourse-cdn.com/v4/letter/l/5e9695/32.png) [@LChen49](https://community.hubspot.com/u/LChen49)\
**Post date:** [April 27, 2023, 1:46am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/9 "2023-04-27T01:46:17Z")

</div>

Hi there, I try to do that but I got this error below:

hs : File C:\Users\…\…\…\npm\hs.ps1 cannot be loaded because running scripts is disabled on  
this system. For more information, see about\_Execution\_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.  
At line:1 char:1  
+ hs create website-theme sample-theme  
+ ~~  
+ CategoryInfo : SecurityError: (🙂 [], PSSecurityException  
+ FullyQualifiedErrorId : UnauthorizedAccess

I am not sure why and how to fix it.

---

<div class="post-metadata">

**Author:** ![blamine81](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/blamine81/32/32521_2.png) [@blamine81](https://community.hubspot.com/u/blamine81)\
**Post date:** [March 4, 2024, 7:49am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/10 "2024-03-04T07:49:56Z")

</div>

Hi,

The command line/instruction may have been changed.

I tried this and it worked for me:

pm install -g @hubspot/cli  
npx hs init  
hs create website-theme connectin-theme  
hs upload connectin-theme connectin-theme

HTH

Lamine

---

<div class="post-metadata">

**Author:** ![Umer129](https://avatars.discourse-cdn.com/v4/letter/u/da6949/32.png) [@Umer129](https://community.hubspot.com/u/Umer129)\
**Post date:** [August 31, 2022, 11:27am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/11 "2022-08-31T11:27:04Z")

</div>

have you solved the issue. im also getting the same error…it says “clone failed”.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [February 4, 2022, 4:49am UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/12 "2022-02-04T04:49:24Z")

</div>

Hi @JSimoneaux ,  
Please refer this document link to properly install theme on your local device [https://docs.google.com/document/d/10F6etc3gLhrh0k\_7tdRhdj3JOHIfUMbmDM7uI8spsUo/edit#heading=h.fc4v9ogjuoja  
 ](https://docs.google.com/document/d/10F6etc3gLhrh0k_7tdRhdj3JOHIfUMbmDM7uI8spsUo/edit#heading=h.fc4v9ogjuoja)

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.  
Thanks and Regards.

---

<div class="post-metadata">

**Author:** ![JSimoneaux](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@JSimoneaux](https://community.hubspot.com/u/JSimoneaux)\
**Post date:** [February 4, 2022, 10:25pm UTC](https://community.hubspot.com/t/hubspot-cms-for-developers-local-issues/50801/13 "2022-02-04T22:25:31Z")

</div>

I did these same steps in my VS terminal. Does that matter or should I stick strictly to my PC CLI?
