Comments (13)
This should have been fixed with 0.0.5
. Are you sure you're on the latest
version?
Pascal Hartig
Software Engineer
http://passy.me/
Twitter: https://twitter.com/passy
Google+: http://gplus.to/passy
On Mon, Sep 9, 2013 at 3:53 PM, collinforrester [email protected]:
TypeError: Cannot read property 'bold' of undefined
at Object. (c:\Users\IGEN721\NODE\node_modules\generator-gruntplugin\node_modules\yeoman-generator\lib\util\common.js:5:56)This happened to my other generators as well, but basically
yeoman-generator needs upgraded to work with the newer versions of yo since
they use chalk.js now to do the colors. I'm sure you guys know this though
as you're probably the ones who made the change. Thanks!I'll submit a PR if I have time this week.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7
.
from generator-gruntplugin.
0.0.5 of generator-gruntplugin? I can only get (and see in NPM) up to 0.0.3 and in 0.0.3 the dependency for yeoman-generator still uses the old welcome message format.
from generator-gruntplugin.
Confirmed this is still an issue today:
yo gruntplugin
TypeError: Cannot read property 'bold' of undefined
at Object.<anonymous> (/Users/addyo/projects/node_modules/generator-gruntplugin/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> (/Users/addyo/projects/node_modules/generator-gruntplugin/node_modules/yeoman-generator/lib/base.js:91:26)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
from generator-gruntplugin.
I think it's because the upped version numbers that I committed haven't actually been included in a version published to NPM yet.
When I install from NPM I get that issue, but when I install using the higher yeoman-generator version, it works fine.
from generator-gruntplugin.
I pushed a new version to this repo yesterday. Could you try installing from master and let me know if it works okay for you?
from generator-gruntplugin.
It works fine when I install from master.
from generator-gruntplugin.
Fantastic. I'm just waiting on one more review and we'll publish to npm.
from generator-gruntplugin.
issue still exists, since the last npm-published version is 0.0.3
from generator-gruntplugin.
@stryju I don't believe they have released it yet. Try installing from master for now and it should work.
I think npm install git://github.com/yeoman/generator-gruntplugin.git
is all it takes.
from generator-gruntplugin.
yep, I know
just wanted to "refresh" the issue, since following the "normal" installation steps will lead to this error
from generator-gruntplugin.
Seems like this should be published to npm :-/
from generator-gruntplugin.
Pushed v0.0.5 to npm.
Pascal Hartig
Software Engineer
http://passy.me/
Twitter: https://twitter.com/passy
Google+: http://gplus.to/passy
On Sun, Nov 17, 2013 at 12:57 AM, Eric Ferraiuolo
[email protected]:
Seems like this should be published to npm :-/
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-28639970
.
from generator-gruntplugin.
Thanks @passy!
from generator-gruntplugin.
Related Issues (9)
- "TypeError: Cannot read property 'bold' of undefined" - Fix = push 0.0.4 to NPM HOT 1
- Feature: package manifest standardisation HOT 2
- Why there's no .travis.yml test in template HOT 1
- Do not generate package.json from template. HOT 13
- Refactor to take into account Yeoman's new running contexts/Composability HOT 1
- mocha? HOT 4
- rx.js error prevents me from scafolfding HOT 2
- underscore.string error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-gruntplugin.