Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
yo map-key error
$ yo webapp --coffee
_-----_
| |
|--(o)--| .--------------------------.
`---------´ | Welcome to Yeoman, |
( _´U`_ ) | ladies and gentlemen! |
/___A___\ '__________________________'
| ~ |
__'.___.'__
´ ` |° ´ Y `
Out of the box I include HTML5 Boilerplate, jQuery, and a Gruntfile.js to build your app.
[?] What more would you like? Bootstrap, Sass, Modernizr
[?] Would you like to use libsass? Read up more at
https://github.com/andrew/node-sass#reporting-sass-compilation-and-syntax-issues: YesN) y
create Gruntfile.js
create package.json
create .gitignore
create .gitattributes
create bower.json
create .jshintrc
create .editorconfig
create app/favicon.ico
create app/404.html
create app/robots.txt
create app/.htaccess
create app/styles/main.scss
create app/index.html
create app/scripts/main.coffee
I'm all done. Running bower install & npm install for you to install the required dependencies. If this fails, try running the command yourself.
npm WARN package.json example@0.0.0 No description
npm WARN package.json example@0.0.0 No repository field.
npm WARN package.json example@0.0.0 No README data
[?] May bower anonymously report usage statistics to improve the tool over npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/vagrant/example/node_modules/grunt-contrib-imagemin/node_modules/mkdirp/test'
npm ERR! error rolling back grunt-contrib-imagemin@0.6.1 { [Error: ENOTEMPTY, rmdir '/vagrant/example/node_modules/grunt-contrib-imagemin/node_modules/mkdirp/test']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/vagrant/example/node_modules/grunt-contrib-imagemin/node_modules/mkdirp/test' }
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'map-key' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'image-min'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 3.13.0-35-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /vagrant/example
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! code E404
> phantomjs@1.9.7-15 install /vagrant/example/node_modules/grunt-mocha/node_modules/grunt-lib-phantomjs/node_modules/phantomjs
> node install.js
Download already available at /tmp/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2
Extracting tar contents (via spawned process)
Copying extracted folder /tmp/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2-extract-1409507692573/phantomjs-1.9.7-linux-x86_64 -> /vagrant/example/node_modules/grunt-mocha/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /vagrant/example/node_modules/grunt-mocha/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
/
> node-sass@0.8.6 install /vagrant/example/node_modules/grunt-sass/node_modules/node-sass
> node build.js
`linux-x64-v8-3.14` exists; testing
․․․․․․․․․․․․․․․․․․․․․․
22 passing (146ms)
Binary is fine; exiting
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /vagrant/example/npm-debug.log
npm ERR! not ok code 0
events.js:74
throw TypeError('Uncaught, unspecified "error" event.');
^
TypeError: Uncaught, unspecified "error" event.
at TypeError (<anonymous>)
at Appgenerator.emit (events.js:74:15)
at done (/home/vagrant/.npm/lib/node_modules/generator-webapp/node_modules/yeoman-generator/lib/base.js:318:16)
at /home/vagrant/.npm/lib/node_modules/generator-webapp/node_modules/yeoman-generator/node_modules/async/lib/async.js:232:13
at /home/vagrant/.npm/lib/node_modules/generator-webapp/node_modules/yeoman-generator/node_modules/async/lib/async.js:113:21
at /home/vagrant/.npm/lib/node_modules/generator-webapp/node_modules/yeoman-generator/node_modules/async/lib/async.js:24:16
at /home/vagrant/.npm/lib/node_modules/generator-webapp/node_modules/yeoman-generator/node_modules/async/lib/async.js:229:17
at /home/vagrant/.npm/lib/node_modules/generator-webapp/node_modules/yeoman-generator/node_modules/async/lib/async.js:516:34
at Appgenerator.<anonymous> (/home/vagrant/.npm/lib/node_modules/generator-webapp/node_modules/yeoman-generator/lib/actions/install.js:43:7)
at ChildProcess.emit (events.js:117:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.