How to install Node.js without an internet connection

How to install Node.js without an internet connection

Follow the steps given below to install the Node.js agent in your Node.js application side without pulling the NPM package from the internet
  1. Download the Node.js agent for download page and the attached agent dependency packages: 
    1. https-proxy-agent-5.0.0.tgz 
    2. dotenv-16.3.1.tgz
  2. Open the terminal and Navigate to the <agent_extracted_path>/agent_minified/. Execute the command given below to install the agent dependency:
    Info
    npm install <agent_dependency_downloaded_path>/https-proxy-agent-5.0.0.tgz  <agent_dependency_downloaded_path>/dotenv-16.3.1.tgz
  3. Now, Navigate to the Node.js application path and execute the below command:
    Info
    npm install <agent_extracted_path>/agent_minified
  4. Then, Continue from step 4 in the installation help to finish setting up the agent and check for agent monitoring 

                  New to ADSelfService Plus?

                    • Related Articles

                    • Method to upgrade Node Js Agent

                      Manual upgrade from user terminal: To upgrade the APM Insight Node.js agent, follow these instructions: Stop the Node.js application. Access the node package manager (NPM). Navigate to the application root directory of the application for which you ...
                    • Managing Node.js applications using PM2 Process Manager

                      Configure PM2 Process Manager to manage Node.js applications Follow the instructions given below to configure PM2 Process Manager to manage Node.js applications: Configure the processManagerEnabled key in the already created apminsightnode.json file. ...
                    • Folder path to view the Node.js agent logs

                      By default, the logs generated by the Node.js agent are stored in the apminsightdata folder, which resides in your application's current working directory. The log files can be found at: <app-path>\apminsightdata\logs If you would like to customize ...
                    • Steps to troubleshoot when no data is available for Node.Js applications.

                      After adding APM Insight Node.Js agent, if you find no data available in the APM Insight Node.Js Application monitor, it could be because of probable reasons like network issues or zero traffic in your application. Kindly read through the below given ...
                    • Troubleshoot - RUM Agent silent installation

                      RUM Agent silent installation can fail on various factors based on your environment, troubleshoot with the help of error message shown while running the script. Below are the list of the error messages thrown from the script and its troubleshooting ...