<?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: Errors when running hs init --account=... in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712750#M58334</link>
    <description>&lt;P&gt;Thanks for you reply. I actually got it going after figuring out that the npm package tagged "next" is an older beta and not the latest release of the cli client. It seems the information found some places on HS that one ought to install the "@next" version is outdated. I'm just keeping this thread alive a bit longer to maybe get final confirmation on this.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2022 13:14:45 GMT</pubDate>
    <dc:creator>JohanL</dc:creator>
    <dc:date>2022-11-01T13:14:45Z</dc:date>
    <item>
      <title>Errors when running hs init --account=...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/711532#M58209</link>
      <description>&lt;P&gt;Hello all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to set up the HS CLI for CRM development but I get stuck at step 2 in the process, that is running hs init.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've cleaned out and reinstalled node and npm and the installation step encounters no problem, but when doing init I get the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Require stack:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- /opt/homebrew/lib/node_modules/@hubspot/cli/node_modules/@hubspot/cli-lib/projectsWatch.js&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- /opt/homebrew/lib/node_modules/@hubspot/cli/commands/project/watch.js&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- /opt/homebrew/lib/node_modules/@hubspot/cli/commands/project.js&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- /opt/homebrew/lib/node_modules/@hubspot/cli/bin/cli.js&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- /opt/homebrew/lib/node_modules/@hubspot/cli/bin/hs&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Module._load (node:internal/modules/cjs/loader:841:27)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Module.require (node:internal/modules/cjs/loader:1061:19)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at require (node:internal/modules/cjs/helpers:103:18)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Object.&amp;lt;anonymous&amp;gt; (/opt/homebrew/lib/node_modules/@hubspot/cli/node_modules/@hubspot/cli-lib/projectsWatch.js:18:24)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Module._compile (node:internal/modules/cjs/loader:1159:14)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Module.load (node:internal/modules/cjs/loader:1037:32)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Module._load (node:internal/modules/cjs/loader:878:12)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;at Module.require (node:internal/modules/cjs/loader:1061:19) {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;code: 'MODULE_NOT_FOUND',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;requireStack: [&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'/opt/homebrew/lib/node_modules/@hubspot/cli/node_modules/@hubspot/cli-lib/projectsWatch.js',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'/opt/homebrew/lib/node_modules/@hubspot/cli/commands/project/watch.js',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'/opt/homebrew/lib/node_modules/@hubspot/cli/commands/project.js',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'/opt/homebrew/lib/node_modules/@hubspot/cli/bin/cli.js',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'/opt/homebrew/lib/node_modules/@hubspot/cli/bin/hs'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Any ideas on what I'm doing wrong?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 09:43:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/711532#M58209</guid>
      <dc:creator>JohanL</dc:creator>
      <dc:date>2022-10-28T09:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Errors when running hs init --account=...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/711848#M58241</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/441877"&gt;@JohanL&lt;/a&gt;. Thanks for reaching out. It's not 100% clear if we can troubleshoot this one with the available information. Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103660"&gt;@piersg&lt;/a&gt;,&amp;nbsp;do you have any good first troubleshooting steps for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/441877"&gt;@JohanL&lt;/a&gt;&amp;nbsp;in getting the HS CLI set up?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much!&amp;nbsp; — Jaycee&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 22:39:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/711848#M58241</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-10-28T22:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Errors when running hs init --account=...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712253#M58280</link>
      <description>&lt;P&gt;Hmm&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/441877"&gt;@JohanL&lt;/a&gt;&amp;nbsp;did you install the hubspot cli tools in a specific directory or globally?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 11:32:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712253#M58280</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2022-10-31T11:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Errors when running hs init --account=...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712271#M58284</link>
      <description>&lt;P&gt;Running "which hs" I get:&lt;BR /&gt;/opt/homebrew/bin/hs&lt;BR /&gt;&lt;BR /&gt;My prefix in npm config is /opt/homebrew so that, I believe, tells me that the tool is globally installed.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 12:40:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712271#M58284</guid>
      <dc:creator>JohanL</dc:creator>
      <dc:date>2022-10-31T12:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Errors when running hs init --account=...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712397#M58300</link>
      <description>&lt;P&gt;I should probably mention that I installed using this command:&amp;nbsp;&lt;BR /&gt;npm install -g &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63720"&gt;@hubspot&lt;/a&gt;/cli@next&lt;BR /&gt;&lt;BR /&gt;I've now set up an Ubuntu VM and got the same issue. Running on an M1 Macbook.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:27:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712397#M58300</guid>
      <dc:creator>JohanL</dc:creator>
      <dc:date>2022-10-31T16:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Errors when running hs init --account=...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712623#M58320</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103660"&gt;@piersg&lt;/a&gt;&amp;nbsp;When browsing the npm versions for the package I notice that the version tagged "@next" is an earlier version but the CRM Development page in HS when enrolled in the beta tells me to download using the next suffix. Is this information outdated, and should I just use the latest package instead?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 06:35:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712623#M58320</guid>
      <dc:creator>JohanL</dc:creator>
      <dc:date>2022-11-01T06:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Errors when running hs init --account=...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712741#M58330</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/441877"&gt;@JohanL&lt;/a&gt;&amp;nbsp;- Any chance you have another computer that you can try to install on. I find it suspect that you get the same results even in a virtual box. Perhaps the Mac m1 chip might be the issue, or running the terminal in Rosetta. It's possible there are some dependency binaries that aren't compatible with m1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also try to install nvm and try a slightly older version of node if you can, as well as maybe an older version of the CLI&amp;nbsp; like &lt;A href="https://www.npmjs.com/package/@hubspot/cli/v/3.0.10" target="_blank" rel="noopener"&gt;3.0.10&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 13:00:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712741#M58330</guid>
      <dc:creator>tjoyce</dc:creator>
      <dc:date>2022-11-01T13:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Errors when running hs init --account=...</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712750#M58334</link>
      <description>&lt;P&gt;Thanks for you reply. I actually got it going after figuring out that the npm package tagged "next" is an older beta and not the latest release of the cli client. It seems the information found some places on HS that one ought to install the "@next" version is outdated. I'm just keeping this thread alive a bit longer to maybe get final confirmation on this.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 13:14:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Errors-when-running-hs-init-account/m-p/712750#M58334</guid>
      <dc:creator>JohanL</dc:creator>
      <dc:date>2022-11-01T13:14:45Z</dc:date>
    </item>
  </channel>
</rss>

