<?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 NodeJS Appdynamics initialization error in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-Appdynamics-initialization-error/m-p/727590#M5837</link>
    <description>&lt;P&gt;I'm using nodejs appdynamics agent, when deployed in AWS EC2 Container application is not up because of this error.&lt;/P&gt;
&lt;P&gt;Even in local when tried to run this, I'm stuck with same error. Please help!&lt;/P&gt;


&lt;P&gt;docker container run &amp;lt;&amp;lt;DOCKERIMAGE&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;TypeError: Cannot read property 'logError' of undefined&lt;BR /&gt;at LibagentConnector.logError (/usr/src/app/node_modules/appdynamics/lib/libagent/libagent-connector.js:367:17)&lt;BR /&gt;at Logger.error (/usr/src/app/node_modules/appdynamics/lib/core/logger.js:167:28)&lt;BR /&gt;at Agent.init (/usr/src/app/node_modules/appdynamics/lib/core/agent.js:319:17)&lt;BR /&gt;at AppDynamics.self.(anonymous function) [as profile] (/usr/src/app/node_modules/appdynamics/lib/core/agent.js:610:26)&lt;/P&gt;</description>
    <pubDate>Mon, 03 Feb 2020 18:02:35 GMT</pubDate>
    <dc:creator>pothuraju_chebe</dc:creator>
    <dc:date>2020-02-03T18:02:35Z</dc:date>
    <item>
      <title>NodeJS Appdynamics initialization error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-Appdynamics-initialization-error/m-p/727590#M5837</link>
      <description>&lt;P&gt;I'm using nodejs appdynamics agent, when deployed in AWS EC2 Container application is not up because of this error.&lt;/P&gt;
&lt;P&gt;Even in local when tried to run this, I'm stuck with same error. Please help!&lt;/P&gt;


&lt;P&gt;docker container run &amp;lt;&amp;lt;DOCKERIMAGE&amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;TypeError: Cannot read property 'logError' of undefined&lt;BR /&gt;at LibagentConnector.logError (/usr/src/app/node_modules/appdynamics/lib/libagent/libagent-connector.js:367:17)&lt;BR /&gt;at Logger.error (/usr/src/app/node_modules/appdynamics/lib/core/logger.js:167:28)&lt;BR /&gt;at Agent.init (/usr/src/app/node_modules/appdynamics/lib/core/agent.js:319:17)&lt;BR /&gt;at AppDynamics.self.(anonymous function) [as profile] (/usr/src/app/node_modules/appdynamics/lib/core/agent.js:610:26)&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 18:02:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-Appdynamics-initialization-error/m-p/727590#M5837</guid>
      <dc:creator>pothuraju_chebe</dc:creator>
      <dc:date>2020-02-03T18:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: NodeJS Appdynamics initialization error</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-Appdynamics-initialization-error/m-p/727591#M5838</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Pothuraju,&lt;/P&gt;&lt;P&gt;This issue comes up when the Node version for which the agent was installed differs in the environments. The Node agent has some native dependencies so I suggest installing the agent in the docker container rather than pushing the agent files with the project files. This will ensure the correct agent dependency files would be installed in the docker environment.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 14:42:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/NodeJS-Appdynamics-initialization-error/m-p/727591#M5838</guid>
      <dc:creator>Piyush_Mundra</dc:creator>
      <dc:date>2020-02-04T14:42:42Z</dc:date>
    </item>
  </channel>
</rss>

