Coder Social home page Coder Social logo

Comments (13)

passy avatar passy commented on June 14, 2024

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.

collinforrester avatar collinforrester commented on June 14, 2024

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.

addyosmani avatar addyosmani commented on June 14, 2024

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.

collinforrester avatar collinforrester commented on June 14, 2024

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.

addyosmani avatar addyosmani commented on June 14, 2024

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.

collinforrester avatar collinforrester commented on June 14, 2024

It works fine when I install from master.

from generator-gruntplugin.

addyosmani avatar addyosmani commented on June 14, 2024

Fantastic. I'm just waiting on one more review and we'll publish to npm.

from generator-gruntplugin.

stryju avatar stryju commented on June 14, 2024

issue still exists, since the last npm-published version is 0.0.3

from generator-gruntplugin.

collinforrester avatar collinforrester commented on June 14, 2024

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

stryju avatar stryju commented on June 14, 2024

yep, I know

just wanted to "refresh" the issue, since following the "normal" installation steps will lead to this error

from generator-gruntplugin.

ericf avatar ericf commented on June 14, 2024

Seems like this should be published to npm :-/

from generator-gruntplugin.

passy avatar passy commented on June 14, 2024

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.

addyosmani avatar addyosmani commented on June 14, 2024

Thanks @passy!

from generator-gruntplugin.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.