generator-express-angular
generator-express-angular copied to clipboard
Cannot read property 'bold' of undefined
I get this error when trying to run yo express-angular
Fixed it by removing .bold from file /usr/local/lib/node_modules/generator-express-angular/node_modules/yeoman-generator/lib/util/common.js
Not sure how this file is generated from the repo though...
:+1:
+1, tried npm cache clean and fresh yo install / generator install with no luck.
Because i'm using npm my common.js was located in:
Users/
There were two "bold" entries, I believe lines 3 and 6.
i got this error , npm cache clean and reinstall generator does not work too
https://github.com/yeoman/generator-webapp/issues/137#issuecomment-23212680
+1, no luck yet;
I'm just learning Yeoman and npm, but if you see this commit, the dependencies were updated, which fixed the issue for me: https://github.com/Grievoushead/generator-express-angular/commit/143a3267f346ba79d41b35a81c602b5ec22a636d
I still don't understand why this is not reflected in what you get on an npm install (maybe the npm registry needs to be updated?), but you can make the change manually to package.json and update for now.