Installing bootstrap with npm doesn't work
I am trying to install bootstrap (LESS) from npm on Debian, but it keeps failing.
This is exactly what I am doing:
git clone https://github.com/twbs/bootstrap.git
npm install
The error I am getting is simple Killed
.
Running npm install
in verbose I throw no errors:
npm verb readDependencies using package.json deps
npm http GET https://registry.npmjs.org/postcss/-/postcss-2.2.5.tgz
npm info retry fetch attempt 1 at 01:00:50
npm verb fetch to= /tmp/npm-3690-Rr0nZSRK/registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000010.tgz
npm info postinstall ansi-regex@0.2.1
Killed
+3
source to share
2 answers
npm install
just installs the upstream dependencies based on what's in package.json in your current directory
try it
git clone https://github.com/twbs/bootstrap.git
cd bootstrap
npm install # installs dependencies
npm install -g bootstrap # does actual install of bootstrap into module dir
Note that the -g in the install command puts bootstrap in your global npm modules directory as defined by the $ NODE_PATH environment variable
+2
source to share
You can also lower memory consumption by "npm config set jobs 1", worked for me;) link: https://community.c9.io/t/npm-install-is-killed/847
+1
source to share