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 find "username" on the context. TypeError: Cannot read property 'split' of undefined #11

Open
alundiak opened this issue Jan 23, 2016 · 0 comments

Comments

@alundiak
Copy link

No matter what content of .verb.md, even if file is empty :), I always have this TypeError:

Running "verb:readme" (verb) task
TypeError: Cannot read property 'replace' of null
Cannot find "username" on the context. TypeError: Cannot read property 'split' of undefined

Here is my config:

verb: {
    readme: {
        files: [
            {src: ['assets/docs/.verb.md'], dest: 'dist/docs/README_by_verb.md'}
        ]
    }
},

Here is my .verb.md:

# {%= name %} {%= badge("fury") %}

> {%= description %}

## Install
{%= include("install") %}

## Author
{%= author %}

## License
{%= copyright() %}
{%= license() %}

***

{%= include("footer") %}

Here is my generated readme.md

image

FYI @jonschlinkert @jwtd

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

1 participant