-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
I'm working on a long-time project using this generator, and lately I'm getting this error when trying to create a new service/module/directive... etc:
_.invokeMap(this._composedWith, 'run');
^
TypeError: _.invokeMap is not a function
at child.run (/home/jeff/workspace/jarvis/jarvis/node_modules/yeoman-generator/lib/base.js:496:5)
at Environment.run (/home/jeff/.nvm/versions/node/v6.5.0/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js:377:20)
at /home/jeff/.nvm/versions/node/v6.5.0/lib/node_modules/yo/lib/cli.js:140:11
at Array.forEach (native)
at /home/jeff/.nvm/versions/node/v6.5.0/lib/node_modules/yo/lib/cli.js:139:9
at Environment.resolver.lookup (/home/jeff/.nvm/versions/node/v6.5.0/lib/node_modules/yo/node_modules/yeoman-environment/lib/resolver.js:50:12)
at init (/home/jeff/.nvm/versions/node/v6.5.0/lib/node_modules/yo/lib/cli.js:115:7)
at pre (/home/jeff/.nvm/versions/node/v6.5.0/lib/node_modules/yo/lib/cli.js:73:3)
at Object.<anonymous> (/home/jeff/.nvm/versions/node/v6.5.0/lib/node_modules/yo/lib/cli.js:194:3)
I have NVM installed and I tried with different node versions (5.0.0, 6.5.0) so I don't know what happens.
I've tried in another different computers with fresh node and yeoman installs and the same error pops up.
Any ideas?
Reactions are currently unavailable