<?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: Can't start Vuforia Studio: uncaughtException HOME directory does not exist in Vuforia Studio</title>
    <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/795809#M10838</link>
    <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;&lt;SPAN&gt;Sebastian,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similar error message from earlier:&amp;nbsp;&lt;A href="https://community.ptc.com/t5/Vuforia-Studio/vufforia-studio-installation-error/td-p/588563" target="_blank"&gt;https://community.ptc.com/t5/Vuforia-Studio/vufforia-studio-installation-error/td-p/588563&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2022 07:14:47 GMT</pubDate>
    <dc:creator>VladimirN</dc:creator>
    <dc:date>2022-05-13T07:14:47Z</dc:date>
    <item>
      <title>Can't start Vuforia Studio: uncaughtException HOME directory does not exist</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/795539#M10835</link>
      <description>&lt;P&gt;Starting Vuforia Studio results in an error and the following Log entry&lt;/P&gt;&lt;PRE&gt;[2022-05-10T20:49:24.661Z] Studio 9.3.2.5397&lt;BR /&gt;[2022-05-10T20:49:24.708Z] Status Message: Vorbereitung läuft...&lt;BR /&gt;[2022-05-10T20:49:24.708Z] Starting node.exe&lt;BR /&gt;[2022-05-10T20:49:29.036Z] error: [twx-studio:index] uncaughtException HOME directory does not exist. Environment variable HOME=C:HOMEPATH% Fix the env variable and relaunch studio.&lt;BR /&gt;studio dir: C:HOMEPATH%\Documents\VuforiaStudio, home dir: C:HOMEPATH%\Documents Error: HOME directory does not exist. Environment variable HOME=C:HOMEPATH% Fix the env variable and relaunch studio.&lt;BR /&gt;studio dir: C:HOMEPATH%\Documents\VuforiaStudio, home dir: C:HOMEPATH%\Documents&lt;BR /&gt;at _verifyHomeDir (C:\Users\username\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\dist\server\commonProperties.js:42:11)&lt;BR /&gt;at Object.&amp;lt;anonymous&amp;gt; (C:\Users\username\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\dist\server\commonProperties.js:45:1)&lt;BR /&gt;at Module._compile (internal/modules/cjs/loader.js:1072:14)&lt;BR /&gt;at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)&lt;BR /&gt;at Module.load (internal/modules/cjs/loader.js:937:32)&lt;BR /&gt;at Function.Module._load (internal/modules/cjs/loader.js:778:12)&lt;BR /&gt;at Module.require (internal/modules/cjs/loader.js:961:19)&lt;BR /&gt;at require (internal/modules/cjs/helpers.js:92:18)&lt;BR /&gt;at Object.&amp;lt;anonymous&amp;gt; (C:\Users\username\AppData\Roaming\VuforiaStudio\studio-download.vuforia.io\dist\server\ssl_support\ssl_config.js:19:24)&lt;BR /&gt;at Module._compile (internal/modules/cjs/loader.js:1072:14) uncaughtException&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The HOME variable is set to %HOMEDRIVE%HOMEPATH% and if changed to the absolute path (C:/Users/username) it resets on the next start of windows.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 11:05:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/795539#M10835</guid>
      <dc:creator>hornhaut</dc:creator>
      <dc:date>2022-05-12T11:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't start Vuforia Studio: uncaughtException HOME directory does not exist</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/795809#M10838</link>
      <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;&lt;SPAN&gt;Sebastian,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similar error message from earlier:&amp;nbsp;&lt;A href="https://community.ptc.com/t5/Vuforia-Studio/vufforia-studio-installation-error/td-p/588563" target="_blank"&gt;https://community.ptc.com/t5/Vuforia-Studio/vufforia-studio-installation-error/td-p/588563&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 07:14:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/795809#M10838</guid>
      <dc:creator>VladimirN</dc:creator>
      <dc:date>2022-05-13T07:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't start Vuforia Studio: uncaughtException HOME directory does not exist</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/796236#M10840</link>
      <description>&lt;P&gt;Thanks for the suggestion, unfortunately I cannot reply in the other post, so I go on here. NodeJS is not installed and, as mentioned in the other post, it might be an issue with the home variable. But I could not solve the issue using google in general, so it might be something specific to how Vuforia Studio accesses the variables (but of course I don't know).&lt;BR /&gt;&lt;BR /&gt;Best&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 09:13:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/796236#M10840</guid>
      <dc:creator>hornhaut</dc:creator>
      <dc:date>2022-05-16T09:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can't start Vuforia Studio: uncaughtException HOME directory does not exist</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/852415#M11515</link>
      <description>&lt;P&gt;OK, I found I work around.&lt;BR /&gt;Apparently the HOME variable is overwritten by my system somehow with %HOMEDRIVE%HOMEPATH% (One % missing between HOMEDRIVE and HOMEPATH). Hence, Home returns "C:/HOMEPATH%" when it is requested. When I fix that in the environment variables it works for some time after restarting the PC but then it seems to return what it was before and refuses to work. Since I do not want reboot everytime I need to use vuforia studio, I wrote a batch file which resets the HOME variable for the current session:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;set HOME=%HOMEDRIVE%%HOMEPATH%
wt RefreshEnv.cmd
cd C:\users\&amp;lt;username&amp;gt;\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\PTC Inc"
".\Vuforia Studio.appref-ms"
pause&lt;/LI-CODE&gt;&lt;P&gt;to call &lt;FONT face="courier new,courier"&gt;RefreshEnv.cmd&lt;/FONT&gt; you need to install the chocolatey package manager, but I am not sure if it is needed at all, since set &lt;FONT face="courier new,courier"&gt;HOME=...&lt;/FONT&gt; the HOME for the current cmd/powershell session. And RefreshEnv.cmd refreshes the system environment variables.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;pause&lt;/FONT&gt; just keeps the cmd/shell window to see if everything worked out&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 13:31:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/Can-t-start-Vuforia-Studio-uncaughtException-HOME-directory-does/m-p/852415#M11515</guid>
      <dc:creator>hornhaut</dc:creator>
      <dc:date>2023-01-30T13:31:04Z</dc:date>
    </item>
  </channel>
</rss>

