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

TypeError: Cannot read property 'Base' of undefined

Open sushant-j opened this issue 7 years ago • 0 comments

Getting this error when running yo mongoose

TypeError: Cannot read property 'Base' of undefined
    at Object.<anonymous> (/usr/local/lib/node_modules/generator-mongoose/app/index.js:20:51)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.get [as mongoose:app] (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:38:27)
    at Store.get (/usr/local/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js:61:39)

Could this be related to following SO thread: https://stackoverflow.com/questions/42846410/yeoman-generator-cannot-read-property-base-of-undefined-with-1-1-version

sushant-j avatar Aug 22 '17 05:08 sushant-j