Skip to content

Instantly share code, notes, and snippets.

@norrs
Created June 12, 2014 22:31
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 norrs/e92f24e82acd55ce0cbb to your computer and use it in GitHub Desktop.
Save norrs/e92f24e82acd55ce0cbb to your computer and use it in GitHub Desktop.
[ -s "/home/rockj/.nvm/nvm.sh" ] && . "/home/rockj/.nvm/nvm.sh" # This loads nvm
rockj@pandora:~/dev/javascript$ [ -s "/home/rockj/.nvm/nvm.sh" ] && . "/home/rockj/.nvm/nvm.sh"
rockj@pandora:~/dev/javascript$ nvm uninstall 0.10
Uninstalled node v0.10.29
rockj@pandora:~/dev/javascript$ nvm install 0.10
######################################################################## 100.0%
Now using node v0.10.29
rockj@pandora:~/dev/javascript$ npm cache clean
rockj@pandora:~/dev/javascript$ mkdir experiments
rockj@pandora:~/dev/javascript$ cd experiments/
rockj@pandora:~/dev/javascript/experiments$ npm
Usage: npm <command>
where <command> is one of:
add-user, adduser, apihelp, author, bin, bugs, c, cache,
completion, config, ddp, dedupe, deprecate, docs, edit,
explore, faq, find, find-dupes, get, help, help-search,
home, i, info, init, install, isntall, issues, la, link,
list, ll, ln, login, ls, outdated, owner, pack, prefix,
prune, publish, r, rb, rebuild, remove, repo, restart, rm,
root, run-script, s, se, search, set, show, shrinkwrap,
star, stars, start, stop, submodule, t, tag, test, tst, un,
uninstall, unlink, unpublish, unstar, up, update, v,
version, view, whoami
npm <cmd> -h quick help on <cmd>
npm -l display full usage info
npm faq commonly asked questions
npm help <term> search for help on <term>
npm help npm involved overview
Specify configs in the ini-formatted file:
/home/rockj/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config
npm@1.4.14 /home/rockj/.nvm/v0.10.29/lib/node_modules/npm
rockj@pandora:~/dev/javascript/experiments$ npm --version
1.4.14
rockj@pandora:~/dev/javascript/experiments$ npm install -g yo
/home/rockj/.nvm/v0.10.29/bin/yo -> /home/rockj/.nvm/v0.10.29/lib/node_modules/yo/cli.js
> yo@1.1.2 postinstall /home/rockj/.nvm/v0.10.29/lib/node_modules/yo
> node ./scripts/doctor
[Yeoman Doctor] Everything looks alright!
/home/rockj/.nvm/v0.10.29/bin/grunt -> /home/rockj/.nvm/v0.10.29/lib/node_modules/grunt-cli/bin/grunt
/home/rockj/.nvm/v0.10.29/bin/bower -> /home/rockj/.nvm/v0.10.29/lib/node_modules/bower/bin/bower
grunt-cli@0.1.13 /home/rockj/.nvm/v0.10.29/lib/node_modules/grunt-cli
├── nopt@1.0.10 (abbrev@1.0.5)
├── resolve@0.3.1
└── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)
bower@1.3.5 /home/rockj/.nvm/v0.10.29/lib/node_modules/bower
├── is-root@0.1.0
├── junk@0.3.0
├── stringify-object@0.2.1
├── abbrev@1.0.5
├── chmodr@0.1.0
├── which@1.0.5
├── osenv@0.0.3
├── opn@0.1.2
├── graceful-fs@2.0.3
├── archy@0.0.2
├── lockfile@0.4.2
├── rimraf@2.2.8
├── lru-cache@2.5.0
├── bower-endpoint-parser@0.2.1
├── bower-logger@0.2.2
├── nopt@2.2.1
├── retry@0.6.0
├── mkdirp@0.3.5
├── tmp@0.0.23
├── q@1.0.1
├── semver@2.2.1
├── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1)
├── fstream-ignore@0.0.8 (inherits@2.0.1, minimatch@0.3.0)
├── request-progress@0.3.1 (throttleit@0.0.2)
├── fstream@0.1.26 (inherits@2.0.1, graceful-fs@3.0.2)
├── shell-quote@1.4.1 (array-filter@0.0.1, array-reduce@0.0.0, array-map@0.0.0, jsonify@0.0.0)
├── p-throttler@0.0.1 (q@0.9.7)
├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.10)
├── tar@0.1.19 (inherits@2.0.1, block-stream@0.0.7)
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
├── promptly@0.2.0 (read@1.0.5)
├── request@2.34.0 (json-stringify-safe@5.0.0, forever-agent@0.5.2, aws-sign2@0.5.0, qs@0.6.6, tunnel-agent@0.3.0, oauth-sign@0.3.0, node-uuid@1.4.1, mime@1.2.11, form-data@0.1.3, tough-cookie@0.12.1, http-signature@0.10.0, hawk@1.0.0)
├── bower-config@0.5.1 (optimist@0.6.1)
├── inquirer@0.4.1 (readline2@0.1.0, mute-stream@0.0.4, through@2.3.4, async@0.2.10, lodash@2.4.1, cli-color@0.2.3)
├── decompress-zip@0.0.8 (graceful-fs@3.0.2, mkpath@0.1.0, touch@0.0.2, readable-stream@1.1.13-1, binary@0.3.0)
├── update-notifier@0.1.10 (semver@2.3.0, request@2.36.0, configstore@0.3.1)
├── mout@0.9.1
├── insight@0.3.1 (object-assign@0.1.2, lodash.debounce@2.4.1, async@0.2.10, request@2.27.0, configstore@0.2.3)
├── bower-registry-client@0.2.1 (request-replay@0.2.0, lru-cache@2.3.1, async@0.2.10, request@2.27.0)
├── cardinal@0.4.4 (ansicolors@0.2.1, redeyed@0.4.4)
└── handlebars@1.3.0 (optimist@0.3.7, uglify-js@2.3.6)
yo@1.1.2 /home/rockj/.nvm/v0.10.29/lib/node_modules/yo
├── open@0.0.4
├── async@0.2.10
├── shelljs@0.2.6
├── lodash@2.4.1
├── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1)
├── sudo-block@0.3.0 (chalk@0.3.0)
├── nopt@2.1.2 (abbrev@1.0.5)
├── findup@0.1.5 (commander@2.1.0, colors@0.6.2)
├── update-notifier@0.1.10 (semver@2.3.0, configstore@0.3.1, request@2.36.0)
├── insight@0.3.1 (object-assign@0.1.2, lodash.debounce@2.4.1, request@2.27.0, configstore@0.2.3, inquirer@0.4.1)
└── yeoman-generator@0.16.0 (dargs@0.1.0, debug@0.7.4, diff@1.0.8, class-extend@0.1.1, rimraf@2.2.8, findup-sync@0.1.3, text-table@0.2.0, mime@1.2.11, isbinaryfile@2.0.1, mkdirp@0.3.5, underscore.string@2.3.3, iconv-lite@0.2.11, glob@3.2.11, file-utils@0.1.5, request@2.30.0, download@0.1.17, inquirer@0.4.1, cheerio@0.13.1)
rockj@pandora:~/dev/javascript/experiments$ yo
[?] What would you like to do? Install a generator
[?] Search NPM for generators: angular
[?] Here's what I found. Install one? generator-angular
generator-karma@0.8.2 /home/rockj/.nvm/v0.10.29/lib/node_modules/generator-karma
├── underscore@1.6.0
└── yeoman-generator@0.17.0 (dargs@0.1.0, debug@0.8.1, diff@1.0.8, class-extend@0.1.1, rimraf@2.2.8, findup-sync@0.1.3, chalk@0.4.0, text-table@0.2.0, mime@1.2.11, async@0.9.0, nopt@2.2.1, isbinaryfile@2.0.1, mkdirp@0.5.0, shelljs@0.3.0, grouped-queue@0.2.1, glob@3.2.11, file-utils@0.2.0, download@0.1.17, underscore.string@2.3.3, iconv-lite@0.2.11, request@2.36.0, lodash@2.4.1, cheerio@0.16.0, gruntfile-editor@0.1.0, inquirer@0.5.1)
generator-angular@0.9.0-1 /home/rockj/.nvm/v0.10.29/lib/node_modules/generator-angular
├── chalk@0.4.0 (has-color@0.1.7, ansi-styles@1.0.0, strip-ansi@0.1.1)
├── yosay@0.2.1 (pad-component@0.0.1, word-wrap@0.1.3, minimist@0.0.9)
├── wiredep@1.8.1 (modmod@0.1.2, propprop@0.3.0, minimist@0.1.0, lodash@1.3.1, chalk@0.1.1, through2@0.4.2, glob@3.2.11, bower-config@0.5.1)
└── yeoman-generator@0.16.0 (dargs@0.1.0, diff@1.0.8, debug@0.7.4, class-extend@0.1.1, rimraf@2.2.8, findup-sync@0.1.3, text-table@0.2.0, mime@1.2.11, async@0.2.10, mkdirp@0.3.5, isbinaryfile@2.0.1, shelljs@0.2.6, underscore.string@2.3.3, iconv-lite@0.2.11, lodash@2.4.1, file-utils@0.1.5, glob@3.2.11, cheerio@0.13.1, inquirer@0.4.1, request@2.30.0, download@0.1.17)
I just installed your generator by running:
npm install -g generator-angular
[?] What would you like to do? Run the Angular generator (0.9.0-1)
Make sure you're in the directory you want to scaffold into.
This generator can also be run with: yo angular
_-----_
| | .--------------------------.
|--(o)--| | Welcome to Yeoman, |
`---------´ | ladies and gentlemen! |
( _´U`_ ) '--------------------------'
/___A___\
| ~ |
__'.___.'__
´ ` |° ´ Y `
Out of the box I include Bootstrap and some AngularJS recommended modules.
[?] Would you like to use Sass (with Compass)? Yes
[?] Would you like to include Bootstrap? Yes
[?] Would you like to use the Sass version of Bootstrap? Yes
[?] Which modules would you like to include? angular-animate.js, angular-cookies.js, angular-resource.js, angular-route.js, angular-sanitize.js, angular-touch.js
create app/styles/main.scss
create app/index.html
create bower.json
create .bowerrc
create package.json
create Gruntfile.js
invoke angular:common:/home/rockj/.nvm/v0.10.29/lib/node_modules/generator-angular/app/index.js
create .editorconfig
create .gitattributes
create .jshintrc
create .gitignore
create test/.jshintrc
create app/.buildignore
create app/.htaccess
create app/404.html
create app/favicon.ico
create app/robots.txt
create app/views/main.html
create app/images/yeoman.png
invoke angular:main:/home/rockj/.nvm/v0.10.29/lib/node_modules/generator-angular/app/index.js
create app/scripts/app.js
invoke angular:controller:/home/rockj/.nvm/v0.10.29/lib/node_modules/generator-angular/app/index.js
create app/scripts/controllers/main.js
create test/spec/controllers/main.js
invoke karma:app
I'm all done. Running bower install & npm install for you to install the required dependencies. If this fails, try running the command yourself.
invoke angular:route
invoke angular:controller:/home/rockj/.nvm/v0.10.29/lib/node_modules/generator-angular/route/index.js
create app/scripts/controllers/about.js
create test/spec/controllers/about.js
invoke angular:view:/home/rockj/.nvm/v0.10.29/lib/node_modules/generator-angular/route/index.js
create app/views/about.html
create test/karma.conf.js
create .travis.yml
npm WARN package.json experiments@0.0.0 No description
npm WARN package.json experiments@0.0.0 No repository field.
npm WARN package.json experiments@0.0.0 No README data
npm WARN package.json experiments@0.0.0 No description
npm WARN package.json experiments@0.0.0 No repository field.
npm WARN package.json experiments@0.0.0 No README data
bower json3#~3.3.1 not-cached git://github.com/bestiejs/json3.git#~3.3.1
bower json3#~3.3.1 resolve git://github.com/bestiejs/json3.git#~3.3.1
bower es5-shim#~3.1.0 not-cached git://github.com/es-shims/es5-shim.git#~3.1.0
bower es5-shim#~3.1.0 resolve git://github.com/es-shims/es5-shim.git#~3.1.0
bower bootstrap-sass-official#~3.1.1 not-cached git://github.com/twbs/bootstrap-sass.git#~3.1.1
bower bootstrap-sass-official#~3.1.1 resolve git://github.com/twbs/bootstrap-sass.git#~3.1.1
bower jquery#~1.11.1 not-cached git://github.com/jquery/jquery.git#~1.11.1
bower jquery#~1.11.1 resolve git://github.com/jquery/jquery.git#~1.11.1
bower angular#1.2.16 not-cached git://github.com/angular/bower-angular.git#1.2.16
bower angular#1.2.16 resolve git://github.com/angular/bower-angular.git#1.2.16
bower angular-resource#1.2.16 not-cached git://github.com/angular/bower-angular-resource.git#1.2.16
bower angular-resource#1.2.16 resolve git://github.com/angular/bower-angular-resource.git#1.2.16
bower angular-cookies#1.2.16 not-cached git://github.com/angular/bower-angular-cookies.git#1.2.16
bower angular-cookies#1.2.16 resolve git://github.com/angular/bower-angular-cookies.git#1.2.16
bower angular-sanitize#1.2.16 not-cached git://github.com/angular/bower-angular-sanitize.git#1.2.16
bower angular-sanitize#1.2.16 resolve git://github.com/angular/bower-angular-sanitize.git#1.2.16
bower angular-animate#1.2.16 not-cached git://github.com/angular/bower-angular-animate.git#1.2.16
bower angular-animate#1.2.16 resolve git://github.com/angular/bower-angular-animate.git#1.2.16
bower angular-touch#1.2.16 not-cached git://github.com/angular/bower-angular-touch.git#1.2.16
bower angular-touch#1.2.16 resolve git://github.com/angular/bower-angular-touch.git#1.2.16
bower angular-route#1.2.16 not-cached git://github.com/angular/bower-angular-route.git#1.2.16
bower angular-route#1.2.16 resolve git://github.com/angular/bower-angular-route.git#1.2.16
bower angular-mocks#1.2.16 not-cached git://github.com/angular/bower-angular-mocks.git#1.2.16
bower angular-mocks#1.2.16 resolve git://github.com/angular/bower-angular-mocks.git#1.2.16
bower angular-scenario#1.2.16 not-cached git://github.com/angular/bower-angular-scenario.git#1.2.16
bower angular-scenario#1.2.16 resolve git://github.com/angular/bower-angular-scenario.git#1.2.16
bower json3#~3.3.1 download https://github.com/bestiejs/json3/archive/v3.3.1.tar.gz
bower es5-shim#~3.1.0 download https://github.com/es-shims/es5-shim/archive/v3.1.1.tar.gz
bower angular-cookies#1.2.16 download https://github.com/angular/bower-angular-cookies/archive/v1.2.16.tar.gz
bower bootstrap-sass-official#~3.1.1 download https://github.com/twbs/bootstrap-sass/archive/v3.1.1+2.tar.gz
bower angular-route#1.2.16 download https://github.com/angular/bower-angular-route/archive/v1.2.16.tar.gz
bower angular-resource#1.2.16 download https://github.com/angular/bower-angular-resource/archive/v1.2.16.tar.gz
bower angular-animate#1.2.16 download https://github.com/angular/bower-angular-animate/archive/v1.2.16.tar.gz
bower angular#1.2.16 download https://github.com/angular/bower-angular/archive/v1.2.16.tar.gz
bower angular-touch#1.2.16 download https://github.com/angular/bower-angular-touch/archive/v1.2.16.tar.gz
bower angular-mocks#1.2.16 download https://github.com/angular/bower-angular-mocks/archive/v1.2.16.tar.gz
bower angular-sanitize#1.2.16 download https://github.com/angular/bower-angular-sanitize/archive/v1.2.16.tar.gz
bower jquery#~1.11.1 download https://github.com/jquery/jquery/archive/1.11.1.tar.gz
bower angular-cookies#1.2.16 extract archive.tar.gz
bower angular-cookies#1.2.16 resolved git://github.com/angular/bower-angular-cookies.git#1.2.16
bower angular-route#1.2.16 extract archive.tar.gz
bower angular-route#1.2.16 resolved git://github.com/angular/bower-angular-route.git#1.2.16
bower angular-animate#1.2.16 extract archive.tar.gz
bower angular-animate#1.2.16 resolved git://github.com/angular/bower-angular-animate.git#1.2.16
bower es5-shim#~3.1.0 extract archive.tar.gz
bower es5-shim#~3.1.0 resolved git://github.com/es-shims/es5-shim.git#3.1.1
bower angular-touch#1.2.16 extract archive.tar.gz
bower angular-touch#1.2.16 resolved git://github.com/angular/bower-angular-touch.git#1.2.16
bower angular-resource#1.2.16 extract archive.tar.gz
bower angular-resource#1.2.16 resolved git://github.com/angular/bower-angular-resource.git#1.2.16
bower json3#~3.3.1 extract archive.tar.gz
bower bootstrap-sass-official#~3.1.1 extract archive.tar.gz
bower angular-mocks#1.2.16 extract archive.tar.gz
bower angular-mocks#1.2.16 resolved git://github.com/angular/bower-angular-mocks.git#1.2.16
bower angular-sanitize#1.2.16 extract archive.tar.gz
bower angular-sanitize#1.2.16 resolved git://github.com/angular/bower-angular-sanitize.git#1.2.16
npm ERR! EEXIST, mkdir '/home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/rimraf'
File exists: /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/rimraf
Move it away, and try again.
npm ERR! System Linux 3.12.6
npm ERR! command "/home/rockj/.nvm/v0.10.29/bin/node" "/home/rockj/.nvm/v0.10.29/bin/npm" "install"
npm ERR! cwd /home/rockj/dev/javascript/experiments
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/rimraf
npm ERR! fstream_path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/rimraf/package.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
bower json3#~3.3.1 resolved git://github.com/bestiejs/json3.git#3.3.1
npm ERR! EEXIST, mkdir '/home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/findup-sync'
File exists: /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/findup-sync
Move it away, and try again.
npm ERR! System Linux 3.12.6
npm ERR! command "/home/rockj/.nvm/v0.10.29/bin/node" "/home/rockj/.nvm/v0.10.29/bin/npm" "install"
npm ERR! cwd /home/rockj/dev/javascript/experiments
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/findup-sync
npm ERR! fstream_path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/findup-sync/package.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! EEXIST, mkdir '/home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/nopt'
File exists: /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/nopt
Move it away, and try again.
npm ERR! System Linux 3.12.6
npm ERR! command "/home/rockj/.nvm/v0.10.29/bin/node" "/home/rockj/.nvm/v0.10.29/bin/npm" "install"
npm ERR! cwd /home/rockj/dev/javascript/experiments
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/nopt
npm ERR! fstream_path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/nopt/.gitignore
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! EEXIST, mkdir '/home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/minimatch'
File exists: /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/minimatch
Move it away, and try again.
npm ERR! System Linux 3.12.6
npm ERR! command "/home/rockj/.nvm/v0.10.29/bin/node" "/home/rockj/.nvm/v0.10.29/bin/npm" "install"
npm ERR! cwd /home/rockj/dev/javascript/experiments
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/minimatch
npm ERR! fstream_path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/minimatch/package.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code EEXIST
npm ERR! errno 47
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/mkdirp/index.js:37:53
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
bower bootstrap-sass-official#~3.1.1 resolved git://github.com/twbs/bootstrap-sass.git#3.1.1+2
npm WARN optional dep failed, continuing fsevents@0.2.0
> phantomjs@1.9.7-8 install /home/rockj/dev/javascript/experiments/node_modules/karma-phantomjs-launcher/node_modules/phantomjs
> node install.js
npm ERR! Error: ENOENT, lstat '/home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/grunt-legacy-log/node_modules/underscore.string/lib/underscore.string.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.12.6
npm ERR! command "/home/rockj/.nvm/v0.10.29/bin/node" "/home/rockj/.nvm/v0.10.29/bin/npm" "install"
npm ERR! cwd /home/rockj/dev/javascript/experiments
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/grunt-legacy-log/node_modules/underscore.string/lib/underscore.string.js
npm ERR! fstream_path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/grunt-legacy-log/node_modules/underscore.string/lib/underscore.string.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2
Receiving...
bower angular-scenario#1.2.16 download https://github.com/angular/bower-angular-scenario/archive/v1.2.16.tar.gz
bower angular#1.2.16 extract archive.tar.gz
bower angular#1.2.16 resolved git://github.com/angular/bower-angular.git#1.2.16
bower jquery#~1.11.1 extract archive.tar.gz
bower jquery#~1.11.1 resolved git://github.com/jquery/jquery.git#1.11.1
bower angular-scenario#1.2.16 extract archive.tar.gz
bower angular-scenario#1.2.16 resolved git://github.com/angular/bower-angular-scenario.git#1.2.16
bower angular-cookies#1.2.16 install angular-cookies#1.2.16
bower angular-route#1.2.16 install angular-route#1.2.16
bower angular-animate#1.2.16 install angular-animate#1.2.16
bower es5-shim#~3.1.0 install es5-shim#3.1.1
bower angular-touch#1.2.16 install angular-touch#1.2.16
bower angular-resource#1.2.16 install angular-resource#1.2.16
bower angular-mocks#1.2.16 install angular-mocks#1.2.16
bower angular-sanitize#1.2.16 install angular-sanitize#1.2.16
bower json3#~3.3.1 install json3#3.3.1
bower bootstrap-sass-official#~3.1.1 install bootstrap-sass-official#3.1.1+2
bower angular#1.2.16 install angular#1.2.16
bower jquery#~1.11.1 install jquery#1.11.1
bower angular-scenario#1.2.16 install angular-scenario#1.2.16
-
angular-cookies#1.2.16 bower_components/angular-cookies
└── angular#1.2.16
angular-route#1.2.16 bower_components/angular-route
└── angular#1.2.16
angular-animate#1.2.16 bower_components/angular-animate
└── angular#1.2.16
es5-shim#3.1.1 bower_components/es5-shim
angular-touch#1.2.16 bower_components/angular-touch
└── angular#1.2.16
angular-resource#1.2.16 bower_components/angular-resource
└── angular#1.2.16
angular-mocks#1.2.16 bower_components/angular-mocks
└── angular#1.2.16
angular-sanitize#1.2.16 bower_components/angular-sanitize
└── angular#1.2.16
json3#3.3.1 bower_components/json3
bootstrap-sass-official#3.1.1+2 bower_components/bootstrap-sass-official
angular#1.2.16 bower_components/angular
jquery#1.11.1 bower_components/jquery
angular-scenario#1.2.16 bower_components/angular-scenario
└── angular#1.2.16
npm ERR! Error: ENOENT, lstat '/home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.12.6
npm ERR! command "/home/rockj/.nvm/v0.10.29/bin/node" "/home/rockj/.nvm/v0.10.29/bin/npm" "install"
npm ERR! cwd /home/rockj/dev/javascript/experiments
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json
npm ERR! fstream_path /home/rockj/dev/javascript/experiments/node_modules/grunt/node_modules/js-yaml/node_modules/argparse/node_modules/underscore/package.json
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /home/rockj/.nvm/v0.10.29/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
Received 12852K total.
Extracting tar contents (via spawned process)
Copying extracted folder /tmp/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2-extract-1402612175929/phantomjs-1.9.7-linux-x86_64 -> /home/rockj/dev/javascript/experiments/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/rockj/dev/javascript/experiments/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/lib/phantom/bin/phantomjs
> ws@0.4.31 install /home/rockj/dev/javascript/experiments/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
make: Entering directory `/home/rockj/dev/javascript/experiments/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/obj.target/bufferutil.node
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
COPY Release/bufferutil.node
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/obj.target/validation.node
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
COPY Release/validation.node
make: Leaving directory `/home/rockj/dev/javascript/experiments/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'
> optipng-bin@0.3.8 postinstall /home/rockj/dev/javascript/experiments/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node index.js
karma-phantomjs-launcher@0.1.4 node_modules/karma-phantomjs-launcher
└── phantomjs@1.9.7-8 (which@1.0.5, rimraf@2.2.8, kew@0.1.7, ncp@0.4.2, mkdirp@0.3.5, adm-zip@0.2.1, npmconf@0.0.24, request@2.36.0)
karma@0.12.16 node_modules/karma
├── di@0.0.1
├── graceful-fs@2.0.3
├── rimraf@2.2.8
├── colors@0.6.2
├── mime@1.2.11
├── q@0.9.7
├── lodash@2.4.1
├── glob@3.2.11 (inherits@2.0.1, minimatch@0.3.0)
├── optimist@0.6.1 (wordwrap@0.0.2, minimist@0.0.10)
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)
├── source-map@0.1.34 (amdefine@0.1.0)
├── useragent@2.0.8 (lru-cache@2.2.4)
├── chokidar@0.8.2 (recursive-readdir@0.0.2)
├── log4js@0.6.14 (semver@1.1.4, async@0.1.15, readable-stream@1.0.27-1)
├── http-proxy@0.10.4 (pkginfo@0.3.0, utile@0.2.1)
├── connect@2.12.0 (uid2@0.0.3, methods@0.1.0, debug@0.8.1, cookie-signature@1.0.1, pause@0.0.1, qs@0.6.6, fresh@0.2.0, bytes@0.2.1, buffer-crc32@0.2.1, raw-body@1.1.2, batch@0.5.0, cookie@0.1.0, negotiator@0.3.0, send@0.1.4, multiparty@2.2.0)
└── socket.io@0.9.17 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.16)
karma-jasmine@0.1.5 node_modules/karma-jasmine
grunt@0.4.5 node_modules/grunt
├── which@1.0.5
├── dateformat@1.0.2-1.2.3
├── eventemitter2@0.4.13
├── getobject@0.1.0
├── colors@0.6.2
├── async@0.1.22
├── hooker@0.2.3
├── grunt-legacy-util@0.2.0
├── exit@0.1.2
├── lodash@0.9.2
├── coffee-script@1.3.3
├── underscore.string@2.2.1
├── iconv-lite@0.2.11
├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3)
├── rimraf@2.2.8
├── nopt@1.0.10 (abbrev@1.0.5)
├── js-yaml@2.0.5 (esprima@1.0.4, argparse@0.1.15)
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0)
├── findup-sync@0.1.3 (lodash@2.4.1, glob@3.2.11)
└── grunt-legacy-log@0.1.1 (lodash@2.4.1, underscore.string@2.3.3)
grunt-karma@0.8.3 node_modules/grunt-karma
└── lodash@2.4.1
✓ pre-build test passed successfully
> jpegtran-bin@0.2.6 postinstall /home/rockj/dev/javascript/experiments/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node index.js
> pngquant-bin@0.3.1 postinstall /home/rockj/dev/javascript/experiments/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin
> node index.js
✗ pre-build test failed, compiling from source...
✓ pngquant built successfully
> gifsicle@0.1.5 postinstall /home/rockj/dev/javascript/experiments/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
> node index.js
✗ pre-build test failed, compiling from source...
✓ gifsicle rebuilt successfully
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/rockj/dev/javascript/experiments/npm-debug.log
npm ERR! not ok code 0
app/index.html modified.
Bye from us! Chat soon.
Addy Osmani
Sindre Sorhus
Brian Ford
Eric Bidelman
Paul Irish
Mickael Daniel
Pasca1 Hartig
Stephen S.wchuk
Frederick R0s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment