Running the latest of npm and node and I've checked to make sure their ownership privileges are correct, any ideas?
TypeError: Cannot read property 'bold' of undefined
at Object.<anonymous> (/usr/local/lib/node_modules/generator-webapp/node_modules/yeoman-generator/lib/util/common.js:5:56)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/lib/node_modules/generator-webapp/node_modules/yeoman-generator/lib/base.js:101:26)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
Had the same issue. What solved it for me was manually updating yeoman-generator. For this I edited package.json
in /usr/lib/node_modules/generator-webapp/
and changed the version of yeoman-generator
to 0.13.2
and ran npm install
in the directory after that.
The git repository of generator-webapp is already using the latest yeoman-generator version but you have to wait for a new release I guess.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With