yeoman / generator-angular

Yeoman generator for AngularJS
http://yeoman.io
5.73k stars 1.44k forks source link

several errors while generating generator-angular #1064

Closed shakedlokits closed 9 years ago

shakedlokits commented 9 years ago

I'm getting several fun errors during the generation of the generator-angular I hope you could help

node -v && npm -v && yo --version && grunt --version && bower --version
v0.12.2
2.8.3
1.4.6
grunt-cli v0.1.13
grunt v0.4.5
1.4.1
Shaked-Lokitss-iMac:mytodo shakedlokits$ yo
? 'Allo Shaked! What would you like to do? Angular

Make sure you are 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)? No
? Would you like to include 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.css
   create app/index.html
   create bower.json
   create .bowerrc
 conflict package.json
? Overwrite package.json? overwrite
    force package.json
   create Gruntfile.js
   create README.md
   invoke   angular:common:/Users/shakedlokits/.nvm/versions/node/v0.12.2/lib/node_modules/generator-angular/app/index.js
   create     .editorconfig
   create     .gitattributes
   create     .jshintrc
   create     .yo-rc.json
   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:/Users/shakedlokits/.nvm/versions/node/v0.12.2/lib/node_modules/generator-angular/app/index.js
   create     app/scripts/app.js
   invoke   angular:controller:/Users/shakedlokits/.nvm/versions/node/v0.12.2/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:/Users/shakedlokits/.nvm/versions/node/v0.12.2/lib/node_modules/generator-angular/route/index.js
   create             app/scripts/controllers/about.js
   create             test/spec/controllers/about.js
   invoke           angular:view:/Users/shakedlokits/.nvm/versions/node/v0.12.2/lib/node_modules/generator-angular/route/index.js
   create             app/views/about.html
   create     test/karma.conf.js
   create     .travis.yml
npm WARN peerDependencies The peer dependency karma@>=0.9 included from karma-phantomjs-launcher will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma@>=0.9 included from karma-jasmine will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency jasmine-core@* included from karma-jasmine will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency grunt@0.4.x included from grunt-karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency karma@~0.12.0 included from grunt-karma will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN engine karma@0.12.31: wanted: {"node":"~0.8 || ~0.10"} (current: {"node":"0.12.2","npm":"2.8.3"})

> phantomjs@1.9.16 install /Users/shakedlokits/Desktop/mytodo/node_modules/karma-phantomjs-launcher/node_modules/phantomjs
> node install.js

Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip
Saving to /var/folders/w9/15g4p02d1g33xc2thpt3qnxm0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip
Receiving...
bower cached        git://github.com/twbs/bootstrap.git#3.3.4
bower validate      3.3.4 against git://github.com/twbs/bootstrap.git#^3.2.0
bower cached        git://github.com/angular/bower-angular-cookies.git#1.3.15
bower validate      1.3.15 against git://github.com/angular/bower-angular-cookies.git#^1.3.0
bower cached        git://github.com/angular/bower-angular-resource.git#1.3.15
bower validate      1.3.15 against git://github.com/angular/bower-angular-resource.git#^1.3.0
bower cached        git://github.com/angular/bower-angular-route.git#1.3.15
bower validate      1.3.15 against git://github.com/angular/bower-angular-route.git#^1.3.0
bower cached        git://github.com/angular/bower-angular-touch.git#1.3.15
bower validate      1.3.15 against git://github.com/angular/bower-angular-touch.git#^1.3.0
bower cached        git://github.com/angular/bower-angular.git#1.3.15
bower validate      1.3.15 against git://github.com/angular/bower-angular.git#^1.3.0
bower cached        git://github.com/angular/bower-angular-animate.git#1.3.15
bower validate      1.3.15 against git://github.com/angular/bower-angular-animate.git#^1.3.0
bower cached        git://github.com/angular/bower-angular-sanitize.git#1.3.15
bower validate      1.3.15 against git://github.com/angular/bower-angular-sanitize.git#^1.3.0
bower cached        git://github.com/angular/bower-angular-mocks.git#1.3.15
bower validate      1.3.15 against git://github.com/angular/bower-angular-mocks.git#^1.3.0
-
Error making request.
Error: connect ETIMEDOUT
    at exports._errnoException (util.js:746:11)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)

Please report this full log at https://github.com/Medium/phantomjs
bower ECMDERR       Failed to execute "git ls-remote --tags --heads git://github.com/angular/bower-angular-touch.git", exit code of #128 fatal: unable to access 'https://github.com/angular/bower-angular-touch.git/': Failed to connect to github.com port 443: Operation timed out

Additional error details:
fatal: unable to access 'https://github.com/angular/bower-angular-touch.git/': Failed to connect to github.com port 443: Operation timed out
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'load-grunt-tasks'
Warning: Task "wiredep" not found. Use --force to continue.

Aborted due to warnings.

> ws@0.4.32 install /Users/shakedlokits/Desktop/mytodo/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished
-
> fsevents@0.3.5 install /Users/shakedlokits/Desktop/mytodo/node_modules/karma/node_modules/chokidar/node_modules/fsevents
> node-gyp rebuild

  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node: Finished
  CXX(target) Release/obj.target/fse/fsevents.o
  SOLINK_MODULE(target) Release/fse.node
  SOLINK_MODULE(target) Release/fse.node: Finished
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/Users/shakedlokits/.nvm/versions/node/v0.12.2/bin/npm" "install" "karma-phantomjs-launcher" "karma-jasmine" "grunt-karma" "--save-dev"
npm ERR! node v0.12.2
npm ERR! npm  v2.8.3
npm ERR! code ELIFECYCLE

 phantomjs@1.9.16 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the phantomjs@1.9.16 install script 'node install.js'.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
|
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/shakedlokits/Desktop/mytodo/npm-debug.log

> gifsicle@2.0.1 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
> node lib/install.js

  ✔ gifsicle pre-build test passed successfully

> jpegtran-bin@2.0.2 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js

  ✔ jpegtran pre-build test passed successfully

> pngquant-bin@2.0.3 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin
> node lib/install.js

  ✔ pngquant pre-build test passed successfully

> optipng-bin@2.0.4 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js

  ⚠ connect ETIMEDOUT
  ⚠ optipng pre-build test failed
  ℹ compiling from source
  ✖ Error: ./configure --with-system-zlib --prefix="/Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor" --bindir="/Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/vendor" && make install
Command failed: /bin/sh -c make install
pngrtran.c:97:1: warning: unused function 'png_rtran_ok' [-Wunused-function]
png_rtran_ok(png_structrp png_ptr, int need_IHDR)
^
1 warning generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpng.a(pngpread.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpng.a(pngwtran.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpng.a(pngpread.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpng.a(pngwtran.o) has no symbols
pngxmem.c:37:32: warning: comparison of constant 2305843009213693951 with expression of type 'png_uint_32' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
   if (row_size == 0 || height > (pngx_alloc_size_t)(-1) / sizeof(png_bytep))
                        ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpngxtern.a(pngxio.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libpngxtern.a(pngxio.o) has no symbols
osys.c:525:25: error: no member named 'st_atim' in 'struct stat'
        times[0] = sbuf.st_atim;
                   ~~~~ ^
osys.c:526:25: error: no member named 'st_mtim' in 'struct stat'
        times[1] = sbuf.st_mtim;
                   ~~~~ ^
osys.c:527:13: warning: implicit declaration of function 'utimensat' is invalid in C99 [-Wimplicit-function-declaration]
        if (utimensat(AT_FDCWD, dest_path, times, 0) != 0)
            ^
1 warning and 2 errors generated.
make[1]: *** [osys.o] Error 1
make: *** [install] Error 2

    at ChildProcess.exithandler (child_process.js:751:12)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
grunt-contrib-clean@0.6.0 node_modules/grunt-contrib-clean
└── rimraf@2.2.8

grunt-concurrent@1.0.0 node_modules/grunt-concurrent
├── pad-stdio@1.0.0 (lpad@1.0.0)
└── async@0.9.0

grunt-contrib-copy@0.7.0 node_modules/grunt-contrib-copy
└── 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)

time-grunt@1.1.1 node_modules/time-grunt
├── date-time@1.0.0
├── figures@1.3.5
├── text-table@0.2.0
├── pretty-ms@1.1.0 (parse-ms@1.0.0, get-stdin@4.0.1)
├── hooker@0.2.3
└── 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)

grunt-filerev@2.3.0 node_modules/grunt-filerev
├── each-async@0.1.3
├── convert-source-map@1.0.0
└── 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)

jshint-stylish@1.0.1 node_modules/jshint-stylish
├── log-symbols@1.0.2
├── text-table@0.2.0
├── string-length@1.0.0 (strip-ansi@2.0.1)
└── 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)

grunt-newer@1.1.0 node_modules/grunt-newer
├── rimraf@2.2.8
└── async@0.9.0

grunt-contrib-concat@0.5.1 node_modules/grunt-contrib-concat
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
└── source-map@0.3.0 (amdefine@0.1.0)

load-grunt-tasks@3.1.0 node_modules/load-grunt-tasks
├── multimatch@2.0.0 (array-differ@1.0.0, array-union@1.0.1, minimatch@2.0.4)
└── findup-sync@0.2.1 (glob@4.3.5)

grunt-contrib-watch@0.6.1 node_modules/grunt-contrib-watch
├── async@0.2.10
├── tiny-lr-fork@0.0.5 (debug@0.7.4, faye-websocket@0.4.4, noptify@0.0.3, qs@0.5.6)
├── gaze@0.5.1 (globule@0.1.0)
└── lodash@2.4.1

grunt-usemin@3.0.0 node_modules/grunt-usemin
├── debug@2.1.3 (ms@0.7.0)
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
└── lodash@2.4.1

grunt-contrib-connect@0.9.0 node_modules/grunt-contrib-connect
├── opn@1.0.1
├── connect-livereload@0.5.3
├── async@0.9.0
├── portscanner@1.0.0 (async@0.1.15)
└── connect@2.29.1 (cookie-signature@1.0.6, utils-merge@1.0.0, fresh@0.2.4, cookie@0.1.2, pause@0.0.1, response-time@2.3.0, vhost@3.0.0, content-type@1.0.1, on-headers@1.0.0, bytes@1.0.0, basic-auth-connect@1.0.0, parseurl@1.3.0, cookie-parser@1.3.4, depd@1.0.1, connect-timeout@1.6.1, http-errors@1.3.1, qs@2.4.1, method-override@2.3.2, debug@2.1.3, finalhandler@0.3.4, morgan@1.5.2, express-session@1.10.4, csurf@1.7.0, serve-favicon@2.2.0, type-is@1.6.1, multiparty@3.3.2, serve-static@1.9.2, compression@1.4.3, errorhandler@1.3.5, body-parser@1.12.3, serve-index@1.6.3)

grunt-contrib-cssmin@0.12.2 node_modules/grunt-contrib-cssmin
├── 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)
├── clean-css@3.1.9 (commander@2.6.0, source-map@0.1.43)
└── maxmin@1.1.0 (figures@1.3.5, chalk@1.0.0, pretty-bytes@1.0.4, gzip-size@1.0.0)

grunt@0.4.5 node_modules/grunt
├── dateformat@1.0.2-1.2.3
├── which@1.0.9
├── eventemitter2@0.4.14
├── getobject@0.1.0
├── rimraf@2.2.8
├── colors@0.6.2
├── async@0.1.22
├── hooker@0.2.3
├── grunt-legacy-util@0.2.0
├── nopt@1.0.10 (abbrev@1.0.5)
├── exit@0.1.2
├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.6.1)
├── glob@3.1.21 (inherits@1.0.0, graceful-fs@1.2.3)
├── lodash@0.9.2
├── coffee-script@1.3.3
├── underscore.string@2.2.1
├── iconv-lite@0.2.11
├── findup-sync@0.1.3 (glob@3.2.11, lodash@2.4.1)
├── grunt-legacy-log@0.1.1 (underscore.string@2.3.3, lodash@2.4.1)
└── js-yaml@2.0.5 (argparse@0.1.16, esprima@1.0.4)

grunt-wiredep@2.0.0 node_modules/grunt-wiredep
└── wiredep@2.2.2 (propprop@0.3.0, minimist@1.1.1, chalk@0.5.1, through2@0.6.5, glob@4.5.3, lodash@2.4.1, bower-config@0.5.2)

grunt-ng-annotate@0.9.2 node_modules/grunt-ng-annotate
├── lodash@2.4.1
└── ng-annotate@0.15.4 (tryor@0.1.2, alter@0.2.0, simple-fmt@0.1.0, simple-is@0.2.0, stringset@0.2.1, stringmap@0.2.2, stable@0.1.5, convert-source-map@0.4.1, ordered-ast-traverse@1.1.1, optimist@0.6.1, source-map@0.1.43, acorn@0.11.0)

grunt-svgmin@2.0.1 node_modules/grunt-svgmin
├── log-symbols@1.0.2
├── each-async@1.1.1 (set-immediate-shim@1.0.1, onetime@1.0.0)
├── 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)
├── pretty-bytes@1.0.4 (get-stdin@4.0.1, meow@3.1.0)
└── svgo@0.5.1 (whet.extend@0.9.9, colors@1.0.3, mkdirp@0.5.0, coa@1.0.1, sax@0.6.1, js-yaml@3.2.7)

grunt-autoprefixer@2.2.0 node_modules/grunt-autoprefixer
├── diff@1.2.2
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
└── autoprefixer-core@5.1.10 (num2fraction@1.0.1, browserslist@0.2.0, postcss@4.0.6, caniuse-db@1.0.30000132)

grunt-contrib-uglify@0.7.0 node_modules/grunt-contrib-uglify
├── uri-path@0.0.2
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── lodash@2.4.1
├── maxmin@1.1.0 (figures@1.3.5, chalk@1.0.0, pretty-bytes@1.0.4, gzip-size@1.0.0)
└── uglify-js@2.4.20 (uglify-to-browserify@1.0.2, async@0.2.10, source-map@0.1.34, yargs@3.5.4)

grunt-contrib-htmlmin@0.4.0 node_modules/grunt-contrib-htmlmin
├── 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)
├── pretty-bytes@1.0.4 (get-stdin@4.0.1, meow@3.1.0)
└── html-minifier@0.7.2 (relateurl@0.2.6, change-case@2.3.0, concat-stream@1.4.8, cli@0.6.6, clean-css@3.1.9, uglify-js@2.4.20)

grunt-contrib-jshint@0.11.2 node_modules/grunt-contrib-jshint
├── hooker@0.2.3
└── jshint@2.7.0 (strip-json-comments@1.0.2, exit@0.1.2, shelljs@0.3.0, console-browserify@1.1.0, minimatch@2.0.4, lodash@3.6.0, htmlparser2@3.8.2, cli@0.6.6)

grunt-google-cdn@0.4.3 node_modules/grunt-google-cdn
├── 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)
├── bower@1.4.1 (is-root@1.0.0, junk@1.0.1, user-home@1.1.1, stringify-object@1.0.1, abbrev@1.0.5, chmodr@0.1.0, which@1.0.9, rimraf@2.3.2, opn@1.0.1, archy@1.0.0, bower-logger@0.2.2, bower-endpoint-parser@0.2.2, graceful-fs@3.0.6, lru-cache@2.6.1, lockfile@1.0.0, nopt@3.0.1, retry@0.6.1, tmp@0.0.24, q@1.2.0, request-progress@0.3.1, chalk@1.0.0, shell-quote@1.4.3, semver@2.3.2, bower-json@0.4.0, fstream@1.0.4, p-throttler@0.1.1, mkdirp@0.5.0, promptly@0.2.0, glob@4.5.3, fstream-ignore@1.0.2, tar-fs@1.5.0, insight@0.5.3, update-notifier@0.3.2, decompress-zip@0.1.0, github@0.2.3, request@2.53.0, bower-registry-client@0.3.0, cardinal@0.4.4, mout@0.11.0, bower-config@0.6.1, configstore@0.3.2, handlebars@2.0.0, inquirer@0.8.0)
└── google-cdn@0.7.0 (regexp-quote@0.0.0, google-cdn-data@0.1.17, async@0.9.0, debug@1.0.4, semver@2.3.2, cdnjs-cdn-data@0.1.1, bower@1.3.12)

grunt-contrib-imagemin@0.9.4 node_modules/grunt-contrib-imagemin
├── gulp-rename@1.2.2
├── async@0.9.0
├── 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)
├── pretty-bytes@1.0.4 (get-stdin@4.0.1, meow@3.1.0)
└── imagemin@3.1.0 (get-stdin@3.0.2, optional@0.1.3, vinyl@0.4.6, stream-combiner@0.2.1, meow@2.1.0, through2@0.6.5, concat-stream@1.4.8, vinyl-fs@0.3.13, imagemin-svgo@4.1.2, imagemin-gifsicle@4.1.0, imagemin-jpegtran@4.1.0, imagemin-pngquant@4.0.0, imagemin-optipng@4.2.0)

     _-----_
    |       |    .----------------------.
    |--(o)--|    |     Bye from us!     |
   `---------´   |      Chat soon.      |
    ( _´U`_ )    |                      |
    /___A___\    |      Yeoman team     |
     |  ~  |     |   http://yeoman.io   |
   __'.___.'__   '----------------------'
 ´   `  |° ´ Y ` 

Thanks in advance and I hope we'll find a solution!

shakedlokits commented 9 years ago

Apparently I'm also getting some other ones

npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/Users/shakedlokits/.nvm/versions/node/v0.12.2/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm  v2.8.3
npm ERR! path /Users/shakedlokits/Desktop/mytodo/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js
npm ERR! code ENOENT
npm ERR! errno -2

npm ERR! enoent ENOENT, open '/Users/shakedlokits/Desktop/mytodo/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/exit/0.1.2/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/glob/3.1.21/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/underscore.string/2.3.3/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/glob/3.2.11/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/underscore.string/2.2.1/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/lodash/0.9.2/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/coffee-script/1.3.3/package.tgz
bower angular-animate#^1.3.0   ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/angular/bower-angular-animate.git", exit code of #128 fatal: unable to access 'https://github.com/angular/bower-angular-animate.git/': Failed to connect to github.com port 443: Operation timed out

Additional error details:
fatal: unable to access 'https://github.com/angular/bower-angular-animate.git/': Failed to connect to github.com port 443: Operation timed out
module.js:338
    throw err;
          ^
Error: Cannot find module 'coffee-script'
    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> (/Users/shakedlokits/Desktop/mytodo/node_modules/grunt/lib/grunt.js:16:1)
    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)
    at Module.require (module.js:365:17)
  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node: Finished
  CXX(target) Release/obj.target/fse/fsevents.o
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/iconv-lite/0.2.11/package.tgz
  SOLINK_MODULE(target) Release/fse.node
  SOLINK_MODULE(target) Release/fse.node: Finished

> phantomjs@1.9.16 install /Users/shakedlokits/Desktop/mytodo/node_modules/karma-phantomjs-launcher/node_modules/phantomjs
> node install.js

Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip
Saving to /var/folders/w9/15g4p02d1g33xc2thpt3qnxm0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip
Receiving...

Error making request.
Error: connect ETIMEDOUT
    at exports._errnoException (util.js:746:11)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)

Please report this full log at https://github.com/Medium/phantomjs

> ws@0.4.32 install /Users/shakedlokits/Desktop/mytodo/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/Users/shakedlokits/.nvm/versions/node/v0.12.2/bin/npm" "install" "karma-phantomjs-launcher" "karma-jasmine" "grunt-karma" "--save-dev"
npm ERR! node v0.12.2
npm ERR! npm  v2.8.3
npm ERR! code ELIFECYCLE

npm ERR! phantomjs@1.9.16 install: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the phantomjs@1.9.16 install script 'node install.js'.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
-
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/shakedlokits/Desktop/mytodo/npm-debug.log
\
> pngquant-bin@2.0.3 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin
> node lib/install.js

  ⚠ connect ETIMEDOUT
  ⚠ pngquant pre-build test failed
  ℹ compiling from source
  ✖ Error: connect ETIMEDOUT
    at exports._errnoException (util.js:746:11)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)

> gifsicle@2.0.1 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
> node lib/install.js

  ✔ gifsicle pre-build test passed successfully

> optipng-bin@2.0.4 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js

  ✔ optipng pre-build test passed successfully

> jpegtran-bin@2.0.2 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js

  ✔ jpegtran pre-build test passed successfully

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/shakedlokits/Desktop/mytodo/npm-debug.log

my computer is now a QA's hell..

eddiemonge commented 9 years ago

It looks like you are having network issues. Try running npm install again.

superghostmaster commented 9 years ago
npm WARN locking Error: EACCES, open '/var/root/.npm/_locks/karma-phantomjs-launcher-8cb9d0ec2928cc9b.lock'
npm WARN locking     at Error (native)
npm WARN locking  /var/root/.npm/_locks/karma-phantomjs-launcher-8cb9d0ec2928cc9b.lock failed { [Error: EACCES, open '/var/root/.npm/_locks/karma-phantomjs-launcher-8cb9d0ec2928cc9b.lock']
npm WARN locking   errno: -13,
npm WARN locking   code: 'EACCES',
npm WARN locking   path: '/var/root/.npm/_locks/karma-phantomjs-launcher-8cb9d0ec2928cc9b.lock' }
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.7.3

npm ERR! Attempt to unlock /Users/CodeMonkey/Documents/todoto/node_modules/karma-phantomjs-launcher, which hasn't been locked
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm WARN locking Error: EACCES, open '/var/root/.npm/_locks/karma-jasmine-e2ce7f7026ddec96.lock'
npm WARN locking     at Error (native)
npm WARN locking  /var/root/.npm/_locks/karma-jasmine-e2ce7f7026ddec96.lock failed { [Error: EACCES, open '/var/root/.npm/_locks/karma-jasmine-e2ce7f7026ddec96.lock']
npm WARN locking   errno: -13,
npm WARN locking   code: 'EACCES',
npm WARN locking   path: '/var/root/.npm/_locks/karma-jasmine-e2ce7f7026ddec96.lock' }
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.7.3

npm ERR! Attempt to unlock /Users/CodeMonkey/Documents/todoto/node_modules/karma-jasmine, which hasn't been locked
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm WARN locking Error: EACCES, open '/var/root/.npm/_locks/grunt-karma-ae1b6593cbf77104.lock'
npm WARN locking     at Error (native)
npm WARN locking  /var/root/.npm/_locks/grunt-karma-ae1b6593cbf77104.lock failed { [Error: EACCES, open '/var/root/.npm/_locks/grunt-karma-ae1b6593cbf77104.lock']
npm WARN locking   errno: -13,
npm WARN locking   code: 'EACCES',
npm WARN locking   path: '/var/root/.npm/_locks/grunt-karma-ae1b6593cbf77104.lock' }
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm  v2.7.3

npm ERR! Attempt to unlock /Users/CodeMonkey/Documents/todoto/node_modules/grunt-karma, which hasn't been locked
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/CodeMonkey/Documents/todoto/npm-debug.log

Nope... not a network issue. Nice way to avoid the issue though.

This has been an on-going issue with the Angular generator for at least 2 months. I reported exactly the same issue to you a couple of months ago but you blew me off just like you're blowing off this guy. If I follow a simple guide on your site, yet your tutorial results in the installation of DEPRECATED dependencies, it's clear you are not maintaining the package. Please don't send other devs on a wild goose chase because you're avoiding the issue.

I just ran this Yo generator immediately before posting, immediately after updating Grunt (which your generator attempts to update as a far-outdated version [deprecated]) and immediately after running npm install (which your generator does FOR you but with the wrong dependencies) and still have the same issues as the OP.

I don't think you guys are testing this on OSX. If you were, you'd see the same errors.

You also don't mention that perms require sudo or root (@ sudo su) in order to install all of the required dependencies correctly.

I'm sorry, but I have to call sloppy dev work once again.

eddiemonge commented 9 years ago

Error making request. Error: connect ETIMEDOUT

sounds like a network error to me.

@superghostmaster you have a completely different issue. Your problem is a locked npm file probably from a failed install. Also, I think everyone on the @yeoman/yeoman-core team has/uses OSX almost exclusively.

You also don't mention that perms require sudo or root (@ sudo su) in order to install all of the required dependencies correctly.

Absolutely false. It sounds like you messed up your install of npm as you installed it using sudo when you didn't need to and know it is causing you all sorts of problems.

@superghostmaster please stop trolling. It wastes everyone's time. IF you have a legit problem, ask it on stackoverflow. If you have found a bug, please open an issue on the appropriate repo.

zenorocha commented 9 years ago

@superghostmaster Try sudo rm -rf /var/root/.npm/_locks.

shakedlokits commented 9 years ago

Thanks, I'll check your resolutions on Sunday, I have a strong internet connection at the university and I'll get back to you On Apr 22, 2015 2:52 AM, "Zeno Rocha" notifications@github.com wrote:

@superghostmaster https://github.com/superghostmaster Try sudo rm -rf /var/root/.npm/_locks.

— Reply to this email directly or view it on GitHub https://github.com/yeoman/generator-angular/issues/1064#issuecomment-94976584 .

eddiemonge commented 9 years ago

@shakedlokits any update?

shakedlokits commented 9 years ago

Just checked it right now and running npm install solved it! (:

  1. why did it?
  2. I'm getting >> Local Npm module "grunt-filerev" not found. Is it installed? when running grunt serve, any solution?
eddiemonge commented 9 years ago
  1. because npm doesnt always work correctly.
  2. try running npm install grunt-filerev
superghostmaster commented 9 years ago

sry - wrong issue

kapilSoni101 commented 7 years ago

I got this error during npm install angular-material how to reolve this:- +-- UNMET PEER DEPENDENCY angular@1.6.3 +-- UNMET PEER DEPENDENCY angular-animate@>=1.3 <1.6 +-- UNMET PEER DEPENDENCY angular-aria@>=1.3 <1.6 `-- angular-material@1.1.3

npm WARN angular-material@1.1.3 requires a peer of angular@>=1.3 <1.6 but none was installed. npm WARN angular-material@1.1.3 requires a peer of angular-animate@>=1.3 <1.6 but none was installed. npm WARN angular-material@1.1.3 requires a peer of angular-aria@>=1.3 <1.6 but none was installed. npm WARN exit@1.0.0 No repository field.