Group Details Private

administrators

Member List

RE: Erro on npm start nodejs Program (Typescript) on ubuntu?

This is might be the incorrect package issue. try the following steps to fix this issue

  1. Use correct version of nodejs, Use NVM for node version managing.
  2. Remove node_modules package rm -rf node_modules/
  3. Install node packages npm i
  4. Start build again npm start

It might fix your issue.

posted in General Discussion
RE: Getting error on nodejs(Typescript app) build in ec2 t3a.micro (1GB ram) machine?

Might be the application is very large, it required more physical memory (RAM). Change/Upgrade the instance type and try again.

posted in General Discussion
RE: Unable to create swap disk in ec2, getting error 'dd: memory exhausted by input buffer of size 1073741824 bytes (1.0 GiB)'

You can use following command instead.

sudo dd if=/dev/zero of=/swapfile bs=1M count=2000

It may fix your issue

posted in General Discussion
How to install NVM in ubuntu Ec2 instance?

I want to install NVM in My Ec2 Instance, How to do it.

posted in General Discussion
RE: Nodejs app imp install Error ' error [email protected] install: `node-gyp rebuild`', How to fix it?

Install NVM using following command

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash

posted in General Discussion
RE: Nodejs app imp install Error ' error [email protected] install: `node-gyp rebuild`', How to fix it?

Change you node js version and try.

User NVM to manage different node versions in a single system: nvm install 10.16.0
It might work.

posted in General Discussion
RE: How to get current minutes of the day using Java Script?

export const currentMinutes = () => {
  const d = new Date();
  return d.getHours() * 60 + d.getMinutes();
}

posted in General Discussion
RE: How to set default time zone to UTC in EC2 Ubuntu Insatnace?

Please use following command, It might fix you issue.
sudo timedatectl set-timezone Etc/UTC

posted in General Discussion
RE: What is indian timezone string to configure in ubuntu machine?

Asia/Kolkata is the timezone string for india, it is +5:30 hr.

posted in General Discussion