<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CMS CLI installation issues in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356887#M17682</link>
    <description>&lt;P&gt;Oh, that's not quite right! It looks like you've not initiated npm correctly and installed the cli dependancy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jul 2020 17:17:24 GMT</pubDate>
    <dc:creator>SandyG1</dc:creator>
    <dc:date>2020-07-23T17:17:24Z</dc:date>
    <item>
      <title>CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356105#M17620</link>
      <description>&lt;P&gt;Installation should be simple, as it is very straightforward. Im sure Im overlooking something obvious, would appreciate any help from others who have encountered the same.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I have NPM installed&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-07-21 12.06.06.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/29488i9229EEB4CFEC6226/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2020-07-21 12.06.06.png" alt="Screenshot 2020-07-21 12.06.06.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;I try and install using npm install -g &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63720"&gt;@hubspot&lt;/a&gt;/cms-cli&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-07-21 10.49.09.png" style="width: 826px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/29481i6378FB4B711A0DE8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-07-21 10.49.09.png" alt="Screenshot 2020-07-21 10.49.09.png" /&gt;&lt;/span&gt; I used the global flag in my /usr/local/bin/ directory.&lt;/LI&gt;&lt;LI&gt;Using hs init returns "zsh: command not found: hs"&lt;/LI&gt;&lt;LI&gt;Using npm list it shows empty&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2020-07-21 10.53.41.png" style="width: 262px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/29482iB151811E585717A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-07-21 10.53.41.png" alt="Screenshot 2020-07-21 10.53.41.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Moving to my project directory, it shows hubspot installed, but nothing underneath it&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2020-07-21 10.54.25.png" style="width: 599px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/29483iDDE12BEE7D1C6888/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-07-21 10.54.25.png" alt="Screenshot 2020-07-21 10.54.25.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;I try installing in project directory, same issue. It shows HubSpot installed with nothing underneath it and hs init returns the same "zsh: command not found:hs" message.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 18:07:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356105#M17620</guid>
      <dc:creator>DirtyBirdDesign</dc:creator>
      <dc:date>2020-07-21T18:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356698#M17664</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/139406"&gt;@DirtyBirdDesign&lt;/a&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for the information provided. I'll tag a few experts. &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/133"&gt;@stefen&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/3688"&gt;@Jsum&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/67091"&gt;@prosa&lt;/a&gt;&amp;nbsp; what would you advise in this case? &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sharon&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 08:40:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356698#M17664</guid>
      <dc:creator>sharonlicari</dc:creator>
      <dc:date>2020-07-23T08:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356726#M17667</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/139406"&gt;@DirtyBirdDesign&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;npx hs init&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sandy&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://community.hubspot.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 09:50:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356726#M17667</guid>
      <dc:creator>SandyG1</dc:creator>
      <dc:date>2020-07-23T09:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356873#M17681</link>
      <description>&lt;P&gt;Thank you Sandy. I ran npx his init, and this was shown&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;npx: installed 59 in 5.121s&lt;/PRE&gt;&lt;P&gt;is that expected?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 16:30:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356873#M17681</guid>
      <dc:creator>DirtyBirdDesign</dc:creator>
      <dc:date>2020-07-23T16:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356887#M17682</link>
      <description>&lt;P&gt;Oh, that's not quite right! It looks like you've not initiated npm correctly and installed the cli dependancy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:17:24 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356887#M17682</guid>
      <dc:creator>SandyG1</dc:creator>
      <dc:date>2020-07-23T17:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356888#M17683</link>
      <description>&lt;P&gt;Nothing happens after - according to the documentation here&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/cms/guides/getting-started" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/cms/guides/getting-started&lt;/A&gt;&amp;nbsp;I should be prompted to create a key and to set up the account.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:03:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356888#M17683</guid>
      <dc:creator>DirtyBirdDesign</dc:creator>
      <dc:date>2020-07-23T17:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356892#M17684</link>
      <description>&lt;P&gt;Have you initiated a node package module?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for example &lt;/STRONG&gt;do you have this package.json in the root of your project?&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;{
  "name": "theme-2020",
  "version": "0.0.1",
  "description": "xxxxx",
  "main": "index.js",
  "scripts": {
    "start": "npx hs init",
    "create-theme": "npx hs create website-theme ${npm_package_name}",
    "watch": "npx hs watch ./${npm_package_name} ${npm_package_name} --remove",
    "create-module": "./hs-create-module.sh ${npm_package_name}",
    "delete": "npx hs remove ${npm_package_name}"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/andanotherday/xxxxx-hs.git"
  },
  "author": "andanotherday.com",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/andanotherday/xxxxx-hs/issues"
  },
  "homepage": "https://github.com/andanotherday/xxxx-hs#readme",
  "dependencies": {
    "@hubspot/cms-cli": "^1.1.9"
  }
}&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:08:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356892#M17684</guid>
      <dc:creator>SandyG1</dc:creator>
      <dc:date>2020-07-23T17:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356895#M17685</link>
      <description>&lt;P&gt;All it has in it is this&lt;/P&gt;&lt;PRE&gt;{
  "name": "@hubspot/cms-cli",
  "version": "1.0.0",
  "description": "Hubspot CMS CLI",
  "main": "index.js",
  "scripts": {
    "test": "hs init"
  },
  "repository": {
    "type": "git",
    "url": "@hubspot/cms-cli"
  },
  "keywords": [
    "Hubspot",
    "CMS",
    "CLI"
  ],
  "author": "HubSpot",
  "license": "ISC"
}&lt;/PRE&gt;&lt;P&gt;I am just dollowing the documentation - perhaps too literally - and didn't see what was described as the next step. I apologize for my ignorance here - I usually stick to the ruby and homebrew pkg management environments.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:11:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356895#M17685</guid>
      <dc:creator>DirtyBirdDesign</dc:creator>
      <dc:date>2020-07-23T17:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356896#M17686</link>
      <description>&lt;P&gt;if not, you'll need to follow these steps as a prerequisite&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;npm init&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;npm install&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63720"&gt;@hubspot&lt;/a&gt;/cms-cli&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;&lt;SPAN&gt;npx hs init&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ah! I see what you've done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; haha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need a new folder mate, sorry to tell you.. Clear it out. and follow this&amp;nbsp;&lt;img id="manwink" class="emoticon emoticon-manwink" src="https://community.hubspot.com/i/smilies/16x16_man-wink.png" alt="Man Wink" title="Man Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:15:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356896#M17686</guid>
      <dc:creator>SandyG1</dc:creator>
      <dc:date>2020-07-23T17:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356899#M17688</link>
      <description>&lt;P&gt;Sandy, thank you very much. You should write the documentation! Very much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:26:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356899#M17688</guid>
      <dc:creator>DirtyBirdDesign</dc:creator>
      <dc:date>2020-07-23T17:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356901#M17689</link>
      <description>&lt;P&gt;aha, you're welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Just for yours and others references:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Running&amp;nbsp;&lt;STRONG&gt;npm install -g &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63720"&gt;@hubspot&lt;/a&gt;/cms-cli&amp;nbsp;&lt;/STRONG&gt;should have worked, however as I'm running a project that will be shared between people. My steps require hubspot-cli to be in the project root. This means that it will automatically install hubspot cli for everyone that works on this project with me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enjoy!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 17:37:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/356901#M17689</guid>
      <dc:creator>SandyG1</dc:creator>
      <dc:date>2020-07-23T17:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: CMS CLI installation issues</title>
      <link>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/912482#M37622</link>
      <description>&lt;P&gt;Finally it works! Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2024 00:15:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/CMS-CLI-installation-issues/m-p/912482#M37622</guid>
      <dc:creator>lochwooe</dc:creator>
      <dc:date>2024-01-27T00:15:14Z</dc:date>
    </item>
  </channel>
</rss>

