Skip to content
Advertisement

Tag: node.js

updating nodejs on linux (yocto) using npm

I need to update my nodejs on a linux-Yocto OS, using npm here what I’ve tried : Does anyone know what I’m missing here ? thanks in advance ! Answer Sounds very much like this n thing relies on the node binary being located at /usr/local/bin/node, which does not hold true for a distribution level install as suggested by the

How to view stdout in AWS environment?

Below is the lambda function: executed with NodeJS runtime ( as serverless app) that writes the incoming event record to stdout By definition, console.log prints to stdout, as mentioned here, but I need to go through cloud watch logs, as this is AWS serverless app: What is the correct way to view stdout in AWS environment? Answer Lambda function is

which node gives quite strange result

Perhaps this seems silly, but when I run which node today it gives me something quite different as instead of something as However when I run sudo which node: I am wondering how this could happen? My Silly Questions how which command works to locate the path for the command; which node exactly selected based on the path? how? in

How to redirect port for React production

I am trying to setup both Express.js and React.js apps on the same Ubuntu server. This is a VPS which runs Plesk Onyx where we have a lot of virtual hosts that run over port 80. To run them continuosly I have installed and ran forever, then these apps starts on ports 3000and 5000 (for instance). I executed commands: Neither

Advertisement