Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'extend' of undefined #7

Closed
jamrockmedz opened this issue Jan 14, 2017 · 3 comments
Closed

TypeError: Cannot read property 'extend' of undefined #7

jamrockmedz opened this issue Jan 14, 2017 · 3 comments

Comments

@jamrockmedz
Copy link

jamrockmedz commented Jan 14, 2017

Hi,
I was trying to use this today however when executing "yo aaal" the below TypeError is raised:

/usr/lib/node_modules/generator-aaal/app/index.js:13
module.exports = yeoman.Base.extend({
                            ^

TypeError: Cannot read property 'extend' of undefined
    at Object.<anonymous> (/usr/lib/node_modules/generator-aaal/app/index.js:13:29)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.get [as aaal:app] (/usr/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:40:23)
    at Store.get (/usr/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:64:35)
@johannesjo
Copy link
Owner

There was a fix (#5) merged today. Maybe you can try reinstalling the generator?

@jamrockmedz
Copy link
Author

Thanks for the update, I had to install the generator directly from git:
npm install -g git+/https://github.com/johannesjo/generator-angular-auto-admin-loopback.git

npm couldn't find the update at the time

npm ERR! notarget No compatible version found: generator-aaal@0.0.9
npm ERR! notarget Valid install targets:
npm ERR! notarget 0.0.8, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1

@johannesjo
Copy link
Owner

johannesjo commented Jan 15, 2017

Yes I didn't release a new version yet. I will do so! Thanks for reporting back!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants