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
User Agreement for Residents and Businesses Registered in the United States
Revolut Gains Approval to Offer Home Loans across the European Economic Area (EEA)
Vaya Timeclock
La connexion à Mon Compte
Truist Park Section 135
OSRS Fishing Training Guide: Quick Methods To Reach Level 99 - Rune Fanatics
Myhr North Memorial
30% OFF Jellycat Promo Code - September 2024 (*NEW*)
Craigslist Phoenix Cars By Owner Only
Jscc Jweb
Hmr Properties
Nonuclub
Missing 2023 Showtimes Near Landmark Cinemas Peoria
Maplestar Kemono
Nashville Predators Wiki
Cpt 90677 Reimbursem*nt 2023
Noaa Ilx
Msu 247 Football
Dwc Qme Database
Www Va Lottery Com Result
Gotcha Rva 2022
Integer Division Matlab
Victory for Belron® company Carglass® Germany and ATU as European Court of Justice defends a fair and level playing field in the automotive aftermarket
Craigslist Hunting Land For Lease In Ga
Jayme's Upscale Resale Abilene Photos
Ticket To Paradise Showtimes Near Cinemark Mall Del Norte
What Is a Yurt Tent?
Ascensionpress Com Login
Democrat And Chronicle Obituaries For This Week
Bursar.okstate.edu
Xfinity Outage Map Lacey Wa
Hypixel Skyblock Dyes
Exploring The Whimsical World Of JellybeansBrains Only
Msnl Seeds
Troy Gamefarm Prices
Kelley Blue Book Recalls
Merkantilismus – Staatslexikon
The Closest Walmart From My Location
Gun Mayhem Watchdocumentaries
303-615-0055
Seminary.churchofjesuschrist.org
Updates on removal of DePaul encampment | Press Releases | News | Newsroom
Lamont Mortuary Globe Az
Mybiglots Net Associates
Samsung 9C8
Paradise leaked: An analysis of offshore data leaks
Latina Webcam Lesbian
Join MileSplit to get access to the latest news, films, and events!
Uno Grade Scale
Naughty Natt Farting
211475039
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.