System requirements for the Node.js agent (2024)

Important

The Node.js agent now has limited support for running on Macs with the M1/M2 chip. One limitation is the Node.js agent does not yet support running Alpine based docker containers on the Apple M1/M2 (ARM64). Running Slim based Docker images is supported.

This page reflects the system requirements and capabilities of the latest version available onnpmjs.comunless otherwise specified in the notes.

Before installing the Node.js agent confirm you can meet the following requirements:

  • There is a deployed application with a package.json file to be analyzed, and the web application technology is supported by Contrast.

  • The agent has network connectivity with the Contrast server.

Using the Node.js agent requires increasing the application's available CPU and memory due to the increased processing and analysis of inbound information. Using the Node.js agent will use more resources than your application on its own. CPU load will also increase but this is heavily influenced by the specific application architecture and existing CPU usage profile.

If you are using Assess, you should double the available memory in each container compared to what you would normally use without the Contrast Node.js agent.

Requirement

Recommended

Notes

CPU

  • AMD 64, x86_64 and compatible

  • Apple M1/M2 ARM64 (limited support)

Operating system

  • CentOS/RHEL 7.9, 8 and later

  • Ubuntu 14.04 LTS, 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS

  • Debian 9, 10, 11

  • Windows

  • macOS

Process managers

  • PM2:4.5.0 and later and 5.1.0 and later

  • The Contrast Node.js agent supports running in bothforkandclustermode.

  • The start command used when running the Contrast Node.js agent must include thefull pathto the installed@contrast/agent module. For example:

    node --import /Users/michael/Dev/my-app/node_modules/@contrast/agent app.js

Containers

  • Distroless containers

  • The Contrast Node.js agent requires access to npm and /bin/sh to function correctly. The agent’s functionality will be degraded and may not report findings or libraries when installed in an application that runs on a distroless container image that does not include those programs/packages.

In this section:

System requirements for the Node.js agent (2024)

FAQs

How to check whether Node.js is properly installed on your system? ›

To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool, and type node -v . This should print the version number so you'll see something like this v0. 10.35 . Test NPM.

How would you deal with Node.js maintenance problems? ›

Update the stack

Keeping the Node. js version up-to-date can boost your app's performance (but doesn't necessarily have to). It also gives the developers the ability to work with modern native solutions, such as async/await and other ES6/7 features, which can make the development process faster.

How to install node requirements? ›

It's simple. If you want to install all the node_modules from the package. json file you simply put: npm install in terminal (on the same directory where the package. json exists) and it would install all the node modules in the folder called node_modules .

What can Node.js can do easily that a browser has limited or no ability to do? ›

Unlike the browser where Javascript is sandboxed for your safety, node. js has full access to the system like any other native application. This means you can read and write directly to/from the file system, have unrestricted access to the network, can execute software and more.

How do I know if node is working properly? ›

Node. js Overview
  1. Using Command Prompt. Open the Command Prompt. Type node -v and press Enter. If Node. ...
  2. Control Panel Check. Navigate to the Control Panel. Search for “Node. js.” ...
  3. Checking System PATH. Open the Command Prompt. Type where node and press Enter. It will print the location of the Node.

How to check if Node.js is running or not? ›

Go to task manager find processes with name of node get it's pid, get it's port number using pid and netstat command. Match the port number with your application you can verify that your application was running.

What are node requirements? ›

Node Requirements
  • CPU: X86/X64 compatible (Intel Xeon or AMD EPYC); 24 cores/48 threads meeting or exceeding the following benchmarks: ...
  • Network Connectivity: Sustained 1Gb/s internet bandwidth via a single 1-Gigabit / 10-Gigabit Ethernet interface.
Jul 25, 2024

How to install Node.js correctly? ›

Installation of NodeJS and NPM is straightforward using the installer package available at NodeJS official web site.
  1. Download the installer from NodeJS WebSite.
  2. Run the installer.
  3. Follow the installer steps, agree the license agreement and click the next button.
  4. Restart your system/machine.

How to setup Node.js on pc? ›

In a web browser, navigate to the Node.js Downloads page. Click the Windows Installer button to download the latest stable version with long-term support (LTS). The installer also includes the NPM package manager. The file is saved in the Downloads folder by default.

What is the minimum system requirements for NodeJS? ›

System Requirements for Node.

Operating System: Windows 7 or later. Processor: 1 GHz or faster. RAM: 512 MB or more.

What is the weakness of NodeJS? ›

Single-Threaded Limitations

Concurrency Issues: Node. js operates on a single-threaded event loop, which can be a limitation for CPU-intensive tasks. Although it excels in handling I/O-bound tasks, heavy computation can block the event loop, impacting performance.

Can NodeJS run without Internet? ›

After you have installed node it is just javascript running on your machine, instead of running in the web browser. So yes to that extend it can be used without connection to the internet. It gives your computer the ability to interpret javascript code and execute whatever instructions you gave it.

How do I validate Node.js installation? ›

Installation of validator module:

After installing the validator module you can check your validator version in the command prompt using the command. After that, you can just create a folder and add a file for example index. js, To run this file you need to run the following command.

How do I make sure Node.js is running? ›

You'll need to open a new terminal (command prompt) for the node and npm command-line tools to be on your PATH. To test that you have Node.js installed correctly on your computer, open a new terminal and type node --version and you should see the current Node.js version installed.

How to check if JavaScript is installed? ›

Activate JavaScript in your browser
  1. Open Chrome on your computer.
  2. Click. then Settings.
  3. Click Privacy and Security.
  4. Click Site settings.
  5. Click JavaScript.
  6. Select Sites can use Javascript.

Top Articles
Main Advantages & Disadvantages of Web Apps in 2024
16 Top Algorithmic Trading Strategies 2024
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Merrill Bechtelar CPA

Last Updated:

Views: 6247

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Merrill Bechtelar CPA

Birthday: 1996-05-19

Address: Apt. 114 873 White Lodge, Libbyfurt, CA 93006

Phone: +5983010455207

Job: Legacy Representative

Hobby: Blacksmithing, Urban exploration, Sudoku, Slacklining, Creative writing, Community, Letterboxing

Introduction: My name is Merrill Bechtelar CPA, I am a clean, agreeable, glorious, magnificent, witty, enchanting, comfortable person who loves writing and wants to share my knowledge and understanding with you.