Digital Craftsman
  • Search
Sign in Subscribe

node

A collection of 4 posts
Increase node memory limit for build
node

Increase node memory limit for build

When running bigger applications you might run into the memory limit of node. I had that issue recently with an Angular application. Usually the build process is triggered through npm run build and the build process is defined in the package.json the following way: "scripts": { ... "build&
04 Nov 2019 1 min read
Promises with loops in Node JS
node

Promises with loops in Node JS

Running all actions asynchronously by default is one of nodes greatest strengths. Waiting for an action to finish is very easy with promises. But how do you wait for multiple promises which might take different amount of time to finish? For example when you're looping through a list
24 Sep 2018 1 min read
NPM without progress bar
npm

NPM without progress bar

We all know that NPM can be quite slow. The progress that is shown on installing new packages also takes a huge part of the total time. So disabling it will make the process itself a lot faster. To do so run the following command: $ npm set progress=false
27 Jul 2017
Install a node module kind of global on uberspace
uberspace

Install a node module kind of global on uberspace

Sometimes you need node modules to be installed globally. I had this case recently with casperjs which I wanted to install on uberspace. To have it available from home you can install it directly into the home directory with the $HOME variable; $ npm install -g --prefix=$HOME casperjs
12 Apr 2016
Page 1 of 1
Digital Craftsman © 2025
  • Datenschutz
  • Impressum
Powered by Ghost