<?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: App Engine JS Error | process is not defined when trying to import assert in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236638#M808</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67610"&gt;@SarahFaustmann&lt;/a&gt;, I wanted to import it in the frontend is there a way to polyfill the process? I am trying to build a converter that converts selenium-based tests to DT assert is often used with selenium. I know that I can run it on an App function but I wanted to know how to polyfill in DT apps setup&lt;BR /&gt;Thank you,&amp;nbsp;&lt;BR /&gt;Abdelwahab&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 16:45:02 GMT</pubDate>
    <dc:creator>Abdelwahab</dc:creator>
    <dc:date>2024-02-08T16:45:02Z</dc:date>
    <item>
      <title>App Engine JS Error | process is not defined when trying to import assert</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236477#M803</link>
      <description>&lt;P&gt;I am trying to import and use assert in my. When I import assert I get the error shown in the screanshot below. I tried installing 'process' but still didn't fix it. Is there a way to fix this problem?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Abdelwahab_0-1707320895842.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17458iB79821F5FD3C6AE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Abdelwahab_0-1707320895842.png" alt="Abdelwahab_0-1707320895842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 15:50:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236477#M803</guid>
      <dc:creator>Abdelwahab</dc:creator>
      <dc:date>2024-02-07T15:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: App Engine JS Error | process is not defined when trying to import assert</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236615#M806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57129"&gt;@Abdelwahab&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you elaborate on where you're trying to import assert? It's&amp;nbsp;&lt;A href="https://developer.dynatrace.com/reference/javascript-runtime/#available-modules" target="_self"&gt;available as built-in module&lt;/A&gt;, and you'll need to utilize an &lt;A href="https://developer.dynatrace.com/develop/functions/" target="_self"&gt;app function&lt;/A&gt; to use any of them since they're not available in the frontend. Out of curiosity, what is your use case for assert?&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Sarah&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 15:47:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236615#M806</guid>
      <dc:creator>SarahFaustmann</dc:creator>
      <dc:date>2024-02-08T15:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: App Engine JS Error | process is not defined when trying to import assert</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236638#M808</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67610"&gt;@SarahFaustmann&lt;/a&gt;, I wanted to import it in the frontend is there a way to polyfill the process? I am trying to build a converter that converts selenium-based tests to DT assert is often used with selenium. I know that I can run it on an App function but I wanted to know how to polyfill in DT apps setup&lt;BR /&gt;Thank you,&amp;nbsp;&lt;BR /&gt;Abdelwahab&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 16:45:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236638#M808</guid>
      <dc:creator>Abdelwahab</dc:creator>
      <dc:date>2024-02-08T16:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: App Engine JS Error | process is not defined when trying to import assert</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236950#M812</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57129"&gt;@Abdelwahab&lt;/a&gt;, the process module is unavailable in the frontend because it's tied to the Node.js runtime. Unfortunately in your case, the only way to use it in app development would be through an &lt;A href="https://developer.dynatrace.com/develop/functions/" target="_self"&gt;app function&lt;/A&gt;. Polyfilling the module is also impossible because it is deeply tied to the Node.js runtime and can't be emulated using JavaScript, like certain other Node.js features.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 12:47:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/236950#M812</guid>
      <dc:creator>SarahFaustmann</dc:creator>
      <dc:date>2024-02-13T12:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: App Engine JS Error | process is not defined when trying to import assert</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/237545#M815</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 14:51:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/App-Engine-JS-Error-process-is-not-defined-when-trying-to-import/m-p/237545#M815</guid>
      <dc:creator>Abdelwahab</dc:creator>
      <dc:date>2024-02-20T14:51:04Z</dc:date>
    </item>
  </channel>
</rss>

