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
Dimensions of need - Staple foods: What do people eat?
How to Find and Cancel Unwanted Online Subscriptions - Consumer Reports
Foxy Roxxie Coomer
Printable Whoville Houses Clipart
English Bulldog Puppies For Sale Under 1000 In Florida
NYT Mini Crossword today: puzzle answers for Tuesday, September 17 | Digital Trends
Directions To Franklin Mills Mall
Quick Pickling 101
Driving Directions To Fedex
Kansas Craigslist Free Stuff
Gunshots, panic and then fury - BBC correspondent's account of Trump shooting
Tribune Seymour
Katie Boyle Dancer Biography
Günstige Angebote online shoppen - QVC.de
Gas Station Drive Thru Car Wash Near Me
Chicken Coop Havelock Nc
Cambridge Assessor Database
Water Trends Inferno Pool Cleaner
Milanka Kudel Telegram
Phoebus uses last-second touchdown to stun Salem for Class 4 football title
Rufus Benton "Bent" Moulds Jr. Obituary 2024 - Webb & Stephens Funeral Homes
Nz Herald Obituary Notices
Www.dunkinbaskinrunsonyou.con
Form F-1 - Registration statement for certain foreign private issuers
Yonkers Results For Tonight
Chamberlain College of Nursing | Tuition & Acceptance Rates 2024
Devotion Showtimes Near Regency Buenaventura 6
Discord Nuker Bot Invite
Meta Carevr
New Stores Coming To Canton Ohio 2022
Skymovieshd.ib
Lbrands Login Aces
Pokemon Inflamed Red Cheats
Mchoul Funeral Home Of Fishkill Inc. Services
Till The End Of The Moon Ep 13 Eng Sub
Isablove
Homewatch Caregivers Salary
Does Circle K Sell Elf Bars
Tra.mypatients Folio
Daily Journal Obituary Kankakee
Tas Restaurant Fall River Ma
Linabelfiore Of
Craigslist West Seneca
Zero Sievert Coop
Kazwire
Miracle Shoes Ff6
Anderson Tribute Center Hood River
Florida Lottery Claim Appointment
Satucket Lectionary
Pgecom
Tyco Forums
Charlotte North Carolina Craigslist Pets
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.