Monthly Archive: June 2018

0

npm WARN Invalid name:

Have you received below error while doing npm install? npm install npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN Invalid name: Foo Bar Solution: In your package.json, “name”...

0

How to copy files from one s3 bucket to another?

AWS does not replicate existing files from one bucket to another when you enable cross region replication from one bucket to another. The easiest way to replicate existing files from one bucket to another...

0

How to run unix commands from nodejs?

Nodejs allows us to execute linux commands from its child process module as shown below. var exec = require(‘child_process’).exec; // any unix based command var cmdToLaunch = “ls -la”; function execCB (error, stdout, stderr)...