Warning: 'Arguments to path.join must be string' causes compilation to fail #31

Closed
dotherightthing opened this Issue Dec 7, 2013 · 1 comment

2 participants

@dotherightthing

Hi,

Since updating my node version I'm getting this warning:

Warning: Arguments to path.join must be string

This is preventing the markdown from being compiled to HTML.

  • node -v = v0.10.22
  • ruby -v = ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]
  • grunt = ~0.4.1
  • grunt-markdown = ~0.4.0

Thanks,
Dan

@dotherightthing

FYI here's my Grunt markdown config code, which was working earlier:

{
"all": {
  "files": [
    {
      "expand": true,
      "src": [
        "**/*.md",
        "!<%= project.build.styles %>/**/*.md",
        "!<%= project.node_modules %>/**/*.md",
        "!<%= project.build.styleguide %>/**/*.md",
        "!<%= project.static.docs %>/**/*.md",
        "!<%= project.dev.vendor %>/**/*.md"
      ],
      "dest": ["**/*"],
      "ext": ".html"
    }
  ],
  "options": {
    "template": "<%= project.dev.docs %>/markdown-template.jst"
  }
}

}

@treasonx treasonx closed this May 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment