generator-angular icon indicating copy to clipboard operation
generator-angular copied to clipboard

Having an issue scaffolding

Open justinchristensen66 opened this issue 11 years ago • 4 comments

I am having problems scaffolding the generator. It never finishes, it gets down to "Running wire:dep test" (wiredep) task, says it is done without errors, gives execution time and then sits there and never returns me to $ so I can run 'grunt serve', I left it for 2hrs thinking it just needed time but that didn't help. So I control C out of generator and run grunt serve, the server is spun up but the styles are not injected. (screenshot attached) screen shot 2015-08-05 at 6 54 53 pm

here is the terminal output

´ |° ´ 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 create package.json create Gruntfile.js create README.md invoke angular:common:/Users/justinchristensen66/.nvm/v0.12.7/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/justinchristensen66/.nvm/v0.12.7/lib/node_modules/generator-angular/app/index.js create app/scripts/app.js invoke angular:controller:/Users/justinchristensen66/.nvm/v0.12.7/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/justinchristensen66/.nvm/v0.12.7/lib/node_modules/generator-angular/route/index.js create app/scripts/controllers/about.js create test/spec/controllers/about.js invoke angular:view:/Users/justinchristensen66/.nvm/v0.12.7/lib/node_modules/generator-angular/route/index.js create app/views/about.html create test/karma.conf.js conflict package.json ? Overwrite package.json? (Ynaxdh) npm WARN package.json [email protected] No license field. bower cached git://github.com/twbs/bootstrap.git#3.3.5 bower validate 3.3.5 against git://github.com/twbs/bootstrap.git#^3.2.0 bower cached git://github.com/angular/bower-angular-animate.git#1.4.3 bower validate 1.4.3 against git://github.com/angular/bower-angular-animate.git#^1.3.0 bower cached git://github.com/angular/bower-angular-touch.git#1.4.3 bower validate 1.4.3 against git://github.com/angular/bower-angular-touch.git#^1.3.0 bower cached git://github.com/angular/bower-angular.git#1.4.3 bower validate 1.4.3 against git://github.com/angular/bower-angular.git#^1.3.0 bower cached git://github.com/angular/bower-angular-resource.git#1.4.3 bower validate 1.4.3 against git://github.com/angular/bower-angular-resource.git#^1.3.0 bower cached git://github.com/angular/bower-angular-mocks.git#1.4.3 bower validate 1.4.3 against git://github.com/angular/bower-angular-mocks.git#^1.3.0 bower cached git://github.com/angular/bower-angular-sanitize.git#1.4.3 bower validate 1.4.3 against git://github.com/angular/bower-angular-sanitize.git#^1.3.0 bower cached git://github.com/angular/bower-angular-route.git#1.4.3 bower validate 1.4.3 against git://github.com/angular/bower-angular-route.git#^1.3.0 bower cached git://github.com/angular/bower-angular-cookies.git#1.4.3 bower validate 1.4.3 against git://github.com/angular/bower-angular-cookies.git#^1.3.0 bower cached git://github.com/jquery/jquery.git#2.1.4 bower validate 2.1.4 against git://github.com/jquery/jquery.git#>= 1.9.1 bower install angular#1.4.3 bower install bootstrap#3.3.5 bower install angular-animate#1.4.3 bower install angular-touch#1.4.3 bower install angular-resource#1.4.3 bower install angular-sanitize#1.4.3 bower install angular-cookies#1.4.3 bower install angular-mocks#1.4.3 bower install angular-route#1.4.3 bower install jquery#2.1.4
angular#1.4.3 bower_components/angular

bootstrap#3.3.5 bower_components/bootstrap └── jquery#2.1.4

angular-animate#1.4.3 bower_components/angular-animate └── angular#1.4.3

angular-touch#1.4.3 bower_components/angular-touch └── angular#1.4.3

angular-resource#1.4.3 bower_components/angular-resource └── angular#1.4.3

angular-sanitize#1.4.3 bower_components/angular-sanitize └── angular#1.4.3

angular-cookies#1.4.3 bower_components/angular-cookies └── angular#1.4.3

angular-mocks#1.4.3 bower_components/angular-mocks └── angular#1.4.3

angular-route#1.4.3 bower_components/angular-route └── angular#1.4.3

jquery#2.1.4 bower_components/jquery

[email protected] postinstall /Users/justinchristensen66/Sites/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

[email protected] postinstall /Users/justinchristensen66/Sites/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

[email protected] postinstall /Users/justinchristensen66/Sites/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 [email protected] node_modules/grunt-contrib-clean └── [email protected]

[email protected] node_modules/grunt-concurrent ├── [email protected] ([email protected]) └── [email protected]

[email protected] node_modules/grunt-contrib-copy └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-filerev ├── [email protected] ├── [email protected] └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/jshint-stylish ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/time-grunt ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-newer ├── [email protected] └── [email protected]

[email protected] node_modules/grunt-contrib-concat ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected])

[email protected] node_modules/load-grunt-tasks ├── [email protected] ([email protected], [email protected], [email protected]) └── [email protected] ([email protected])

[email protected] node_modules/grunt-contrib-watch ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected]) └── [email protected]

[email protected] node_modules/grunt-usemin ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) └── [email protected]

[email protected] node_modules/grunt-contrib-connect ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-contrib-htmlmin ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected])

[email protected] node_modules/grunt-contrib-cssmin ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected])

[email protected] node_modules/grunt-contrib-uglify ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-wiredep └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-ng-annotate ├── [email protected] └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-svgmin ├── [email protected] ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-contrib-jshint ├── [email protected] └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-autoprefixer ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-google-cdn ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt-contrib-imagemin ├── [email protected] ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) Running "wiredep:app" (wiredep) task

Running "wiredep:test" (wiredep) task

Done, without errors.

Execution Time (2015-08-05 23:13:11 UTC) loading tasks 48ms ▇ 2% wiredep:app 2.4s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 97% Total 2.4s

justinchristensen66 avatar Aug 06 '15 02:08 justinchristensen66

I using Yeoman version 1.4.7 instead of 1.4.6, bower and grunt both match the versions that is required.

justinchristensen66 avatar Aug 06 '15 20:08 justinchristensen66

Had the same problem today. Check out the discussion over here #1116

paulJordaan avatar Aug 06 '15 21:08 paulJordaan

? Overwrite package.json? (Ynaxdh)

Duplicate of #1092

eddiemonge avatar Aug 06 '15 22:08 eddiemonge

Thanks paulJordaan

justinchristensen66 avatar Aug 08 '15 08:08 justinchristensen66