david-driscoll / atom-yeoman

A yeoman ui for atom.io
https://github.com/david-driscoll/atom-yeoman
MIT License
26 stars 5 forks source link

Uncaught TypeError: Cannot read property 'angular-route' of undefined #38

Open skamguia opened 9 years ago

skamguia commented 9 years ago

[Enter steps to reproduce below:]

  1. Run atom-yeoman and select angular generator
  2. select yes to sass, bootstrap, and bootstrap version of sass
  3. select all defaults, (Enter through to finish of generator setup)

Atom Version: 1.0.15 System: Mac OS X 10.11.1 Thrown From: atom-yeoman package, v0.3.13

Stack Trace

Uncaught TypeError: Cannot read property 'angular-route' of undefined

At /Users/senghorkamguia/node_modules/generator-angular/route/index.js:25

TypeError: Cannot read property 'angular-route' of undefined
  at new Generator (/Users/senghorkamguia/node_modules/generator-angular/route/index.js:25:26)
  at Environment.instantiate (/Users/senghorkamguia/.atom/packages/atom-yeoman/node_modules/yeoman-environment/lib/environment.js:297:10)
  at Environment.create (/Users/senghorkamguia/.atom/packages/atom-yeoman/node_modules/yeoman-environment/lib/environment.js:274:15)
  at /Users/senghorkamguia/.atom/packages/atom-yeoman/lib/generator.js:84:85
  at Object.exports.allowUnsafeNewFunction (/Users/senghorkamguia/.atom/packages/atom-yeoman/node_modules/loophole/lib/loophole.js:25:14)
  at Environment.res.create (/Users/senghorkamguia/.atom/packages/atom-yeoman/lib/generator.js:84:18)
  at Generator.invoke (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/lib/actions/invoke.js:20:28)
  at Generator.<anonymous> (/Users/senghorkamguia/node_modules/generator-angular/app/index.js:107:12)
  at emitNone (events.js:67:13)
  at Generator.emit (events.js:166:7)
  at callback (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/lib/base.js:365:10)
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:232:13
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:142:25
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:229:17
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:556:34
  at callback (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/lib/base.js:366:5)
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:232:13
  at async.eachSeries (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:130:20)
  at _asyncMap (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:226:9)
  at Object.mapSeries (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:216:23)
  at Object.async.series (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:549:19)
  at Generator.runHooks (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/lib/base.js:380:9)
  at runHooks (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/lib/base.js:297:10)
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:232:13
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:142:25
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:229:17
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:556:34
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/lib/base.js:327:11
  at Conflicter.<anonymous> (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/lib/util/conflicter.js:74:5)
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:232:13
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:142:25
  at /Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:229:17
  at Object.callback (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/node_modules/async/lib/async.js:556:34)
  at Generator.<anonymous> (/Users/senghorkamguia/node_modules/generator-angular/node_modules/yeoman-generator/lib/actions/actions.js:220:12)
  at processImmediate [as _immediateCallback] (timers.js:371:17)

Commands

     -3:49.4.0 yo:yeoman (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -3:45.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -3:45.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -3:43.6.0 yo:yeoman (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
  3x -3:42.3.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -3:40 core:confirm (atom-text-editor.editor.mini.is-focused)
 16x -3:38.9.0 core:move-down (atom-text-editor.editor.mini.is-focused)
  2x -3:35.8.0 core:move-up (atom-text-editor.editor.mini.is-focused)
     -3:35.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:34.1.0 core:move-down (atom-text-editor.editor.mini.is-focused)
  2x -3:33.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -3:04.4.0 application:add-project-folder (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -1:30.7.0 yo:yeoman (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  7x -1:29.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:06.1.0 yo:yeoman (atom-text-editor.editor.is-focused)
  5x -0:05.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "projectHome": "/Users/senghorkamguia/Desktop/localdev/"
  }
}

Installed Packages

# User
.bin, vundefined
atom-typescript, v6.0.15
atom-yeoman, v0.3.13
color-picker, v2.0.12
linter, v1.6.0

# Dev
No dev packages