-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Object #<Environment> has no method 'instantiate' #502
Comments
I tried multiple combinations of versions: |
@UnbrandedTech this may be a dumb question; but have you updated the generator |
@kingcody I just installed it last weekend but i just updated it Still getting the same error though. |
@UnbrandedTech thanks for the feedback on the issue, I'll definitely let you know if I find anything relevant. |
@kingcody Thanks I'll try to find someway to fix/get around it. |
@UnbrandedTech try re-running the generator in your project, and be ready for some overwrites: $ yo angular-fullstack |
@JaKXz Thank you for the suggestion but no dice. When I ran the generator again, it overwrote: But upon running
|
@kingcody I just tried to delete the whole project and start again but when running the generator for the first time I got the same error. I ran it again and used the existing .yo-rc file from the previous run and it worked perfectly. I don't know whats not there when i first start and there the second time.... |
hmm, that is interesting... I'm glad you have a working project now! Perhaps a dependency caching issue... |
@kingcody Those commands still do not work. I thought it would help if I told you it was errored out in the start up. I uninstalling Node and trying from scratch. |
Uninstalled everything and now it works. Thank you @kingcody for all your help! |
@UnbrandedTech glad to hear it. So the issue has been resolved for you? |
Node Version: v0.10.29
Yeoman Version: v1.2.1
Unbrandedtech:www james$ yo angular-fullstack:route Area
/Users/james/npm/lib/node_modules/generator-angular-fullstack/node_modules/yeoman-generator/lib/base.js:551 generator = this.env.instantiate(Generator, options);
TypeError: Object #<Environment> has no method 'instantiate'
at composeWith (/Users/james/npm/lib/node_modules/generator-angular-fullstack/node_modules/yeoman-generator/lib/base.js:551:26)
at yeoman.generators.Base.extend.compose (/Users/james/npm/lib/node_modules/generator-angular-fullstack/route/index.js:6:10)
at /Users/james/npm/lib/node_modules/generator-angular-fullstack/node_modules/yeoman-generator/lib/base.js:387:14
at processImmediate [as _immediateCallback] (timers.js:336:15)
The endpoint works fine but the route does not work.
The text was updated successfully, but these errors were encountered: