Skip to content
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

Cannot read property 'bold' of undefined #14

Open
climboid opened this issue Sep 20, 2013 · 6 comments
Open

Cannot read property 'bold' of undefined #14

climboid opened this issue Sep 20, 2013 · 6 comments

Comments

@climboid
Copy link

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...

@nickmerwin
Copy link

👍

@joelbowen
Copy link

+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//.nvm/v0.10.18/lib/node_modules/generator-express-angular/node_modules/yeoman-generator/lib/util/common.js

There were two "bold" entries, I believe lines 3 and 6.

@dfang
Copy link

dfang commented Oct 1, 2013

i got this error , npm cache clean and reinstall generator does not work too

@dfang
Copy link

dfang commented Oct 1, 2013

@nuguja
Copy link

nuguja commented Oct 7, 2013

+1, no luck yet;

@Landerson352
Copy link

I'm just learning Yeoman and npm, but if you see this commit, the dependencies were updated, which fixed the issue for me:
143a326

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants