Skip to content

Instantly share code, notes, and snippets.

@E-VANCE
Created May 5, 2015 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save E-VANCE/fbccc7d3e7dc9755298f to your computer and use it in GitHub Desktop.
Save E-VANCE/fbccc7d3e7dc9755298f to your computer and use it in GitHub Desktop.
Trying to install Sage's dependencies on a Uberspace.de server-instance
[famgbr@mirfac ~]$ npm --version
1.4.28
[famgbr@mirfac ~]$ node --version
v0.10.36
[famgbr@mirfac ~]$ echo 'export PATH=/package/host/localhost/nodejs-0.12/bin:$PATH' >> ~/.bash_profile
[famgbr@mirfac ~]$ source ~/.bash_profile
[famgbr@mirfac ~]$ npm --version
2.7.4
[famgbr@mirfac ~]$ cat > ~/.npmrc <<__EOF__
> prefix = $HOME
> umask = 077
> __EOF__
[famgbr@mirfac ~]$ cd html/wp-content/themes/
[famgbr@mirfac themes]$ git clone https://github.com/roots/sage.git theme-name
Initialized empty Git repository in /var/www/virtual/famgbr/html/wp-content/themes/theme-name/.git/
remote: Counting objects: 7488, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 7488 (delta 1), reused 0 (delta 0), pack-reused 7484
Receiving objects: 100% (7488/7488), 3.41 MiB | 2.58 MiB/s, done.
Resolving deltas: 100% (4405/4405), done.
[famgbr@mirfac themes]$ ls
fam-gbr index.php
[famgbr@mirfac themes]$ cd fam-gbr
[famgbr@mirfac fam-gbr]$ cd ../../../..
[famgbr@mirfac ~]$ ls
bin cgi-bin etc fcgi-bin html lib logs Maildir tmp
[famgbr@mirfac ~]$ npm install -g gulp bower
/home/famgbr/bin/gulp -> /home/famgbr/lib/node_modules/gulp/bin/gulp.js
/home/famgbr/bin/bower -> /home/famgbr/lib/node_modules/bower/bin/bower
gulp@3.8.11 /home/famgbr/lib/node_modules/gulp
├── pretty-hrtime@0.2.2
├── interpret@0.3.10
├── deprecated@0.0.1
├── archy@1.0.0
├── tildify@1.0.0 (user-home@1.1.1)
├── v8flags@2.0.5 (user-home@1.1.1)
├── minimist@1.1.1
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
├── semver@4.3.3
├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5)
├── gulp-util@3.0.4 (array-differ@1.0.0, beeper@1.0.0, object-assign@2.0.0, array-uniq@1.0.2, lodash._reinterpolate@3.0.0, lodash._reevaluate@3.0.0, lodash._reescape@3.0.0, replace-ext@0.0.1, vinyl@0.4.6, chalk@1.0.0, lodash.template@3.5.1, through2@0.6.5, dateformat@1.0.11, multipipe@0.1.2)
├── liftoff@2.0.3 (extend@2.0.1, flagged-respawn@0.3.1, resolve@1.1.6, findup-sync@0.2.1)
└── vinyl-fs@0.3.13 (graceful-fs@3.0.6, strip-bom@1.0.0, vinyl@0.4.6, defaults@1.0.2, mkdirp@0.5.0, through2@0.6.5, glob-stream@3.1.18, glob-watcher@0.0.6)
bower@1.4.1 /home/famgbr/lib/node_modules/bower
├── is-root@1.0.0
├── junk@1.0.1
├── stringify-object@1.0.1
├── user-home@1.1.1
├── abbrev@1.0.5
├── which@1.0.9
├── chmodr@0.1.0
├── rimraf@2.3.3
├── archy@1.0.0
├── opn@1.0.2
├── graceful-fs@3.0.6
├── bower-logger@0.2.2
├── bower-endpoint-parser@0.2.2
├── lockfile@1.0.0
├── lru-cache@2.6.2
├── nopt@3.0.1
├── retry@0.6.1
├── tmp@0.0.24
├── chalk@1.0.0 (escape-string-regexp@1.0.3, ansi-styles@2.0.1, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)
├── request-progress@0.3.1 (throttleit@0.0.2)
├── q@1.3.0
├── shell-quote@1.4.3 (array-filter@0.0.1, array-reduce@0.0.0, array-map@0.0.0, jsonify@0.0.0)
├── semver@2.3.2
├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, graceful-fs@2.0.3)
├── fstream@1.0.4 (inherits@2.0.1)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── p-throttler@0.1.1 (q@0.9.7)
├── promptly@0.2.0 (read@1.0.5)
├── tar-fs@1.5.0 (pump@1.0.0, tar-stream@1.1.4)
├── glob@4.5.3 (inherits@2.0.1, once@1.3.1, inflight@1.0.4, minimatch@2.0.7)
├── fstream-ignore@1.0.2 (inherits@2.0.1, minimatch@2.0.7)
├── insight@0.5.3 (object-assign@2.0.0, lodash.debounce@3.0.3, async@0.9.0, os-name@1.0.3, tough-cookie@0.12.1)
├── update-notifier@0.3.2 (is-npm@1.0.0, string-length@1.0.0, semver-diff@2.0.0, latest-version@1.0.0)
├── decompress-zip@0.1.0 (mkpath@0.1.0, touch@0.0.3, readable-stream@1.1.13, binary@0.3.0)
├── github@0.2.4 (mime@1.3.4)
├── bower-registry-client@0.3.0 (graceful-fs@2.0.3, request-replay@0.2.0, rimraf@2.2.8, lru-cache@2.3.1, async@0.2.10, mkdirp@0.3.5, request@2.51.0)
├── request@2.53.0 (caseless@0.9.0, json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0.5.2, stringstream@0.0.4, oauth-sign@0.6.0, tunnel-agent@0.4.0, isstream@0.1.2, node-uuid@1.4.3, qs@2.3.3, combined-stream@0.0.7, form-data@0.2.0, mime-types@2.0.10, bl@0.9.4, http-signature@0.10.1, tough-cookie@1.1.0, hawk@2.3.1)
├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4)
├── mout@0.11.0
├── bower-config@0.6.1 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1, mout@0.9.1)
├── configstore@0.3.2 (object-assign@2.0.0, xdg-basedir@1.0.1, osenv@0.1.0, uuid@2.0.1, js-yaml@3.3.0)
├── handlebars@2.0.0 (optimist@0.3.7, uglify-js@2.3.6)
└── inquirer@0.8.0 (figures@1.3.5, ansi-regex@1.1.1, mute-stream@0.0.4, through@2.3.7, readline2@0.1.1, chalk@0.5.1, lodash@2.4.2, cli-color@0.3.3, rx@2.5.2)
[famgbr@mirfac ~]$ gulp --version
[21:08:19] CLI version 3.8.11
[famgbr@mirfac ~]$ bower --version
1.4.1
[famgbr@mirfac ~]$ cd html/wp-content/themes/fam-gbr
[famgbr@mirfac fam-gbr]$ npm install
Beendet
[famgbr@mirfac fam-gbr]$ bower install
? May bower anonymously report usage statistics to improve the tool over time? Yesn) y
bower not-cached git://github.com/jquery/jquery.git#1.11.2
bower resolve git://github.com/jquery/jquery.git#1.11.2
bower not-cached git://github.com/Modernizr/Modernizr.git#2.8.2
bower resolve git://github.com/Modernizr/Modernizr.git#2.8.2
bower not-cached git://github.com/twbs/bootstrap-sass.git#3.3.4
bower resolve git://github.com/twbs/bootstrap-sass.git#3.3.4
bower download https://github.com/Modernizr/Modernizr/archive/v2.8.2.tar.gz
bower download https://github.com/twbs/bootstrap-sass/archive/v3.3.4.tar.gz
bower download https://github.com/jquery/jquery/archive/1.11.2.tar.gz
bower extract bootstrap-sass-official#3.3.4 archive.tar.gz
bower extract modernizr#2.8.2 archive.tar.gz
bower extract jquery#1.11.2 archive.tar.gz
bower invalid-meta modernizr is missing "main" entry in bower.json
bower invalid-meta modernizr is missing "ignore" entry in bower.json
bower resolved git://github.com/Modernizr/Modernizr.git#2.8.2
bower mismatch Version declared in the json (3.3.3) is different than the resolved one (3.3.4)
bower resolved git://github.com/twbs/bootstrap-sass.git#3.3.4
bower resolved git://github.com/jquery/jquery.git#1.11.2
bower install modernizr#2.8.2
bower install bootstrap-sass-official#3.3.4
bower install jquery#1.11.2
modernizr#2.8.2 bower_components/modernizr
bootstrap-sass-official#3.3.4 bower_components/bootstrap-sass-official
└── jquery#1.11.2
jquery#1.11.2 bower_components/jquery
[famgbr@mirfac fam-gbr]$ gulp
module.js:338
throw err;
^
Error: Cannot find module 'browserslist'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/var/www/virtual/famgbr/html/wp-content/themes/fam-gbr/node_modules/gulp-autoprefixer/node_modules/autoprefixer-core/lib/autoprefixer.js:6:18)
at Object.<anonymous> (/var/www/virtual/famgbr/html/wp-content/themes/fam-gbr/node_modules/gulp-autoprefixer/node_modules/autoprefixer-core/lib/autoprefixer.js:109:4)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment