Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Random "path needs to be a string" errors #22

Open
randohinn opened this issue Jun 19, 2016 · 2 comments
Open

Random "path needs to be a string" errors #22

randohinn opened this issue Jun 19, 2016 · 2 comments

Comments

@randohinn
Copy link

randohinn commented Jun 19, 2016

I started getting these errors out of nowhere, that state: Warning: Path must be a string. Received [ 'src/include/header.liquid' ] Use --force to continue.. Nothing gets compiled. Gruntfile is as follows:

liquid: {
        options: {
           includes: "/src/include"
        },
        pages: {
          files: [
            {cwd:"src", expand: true, flatten:false, src: '**/**/*.liquid', dest: 'dist', ext: '.html' }
          ]
        }
},

and I include like so: {% include "header" %}

Version of grunt-liquid is ^2.0.1

What has gone bezerk here?

@randohinn
Copy link
Author

I have now migrated to gulp, but leaving this open for curiosity & hopes of this being resolved someday.

@jeznag
Copy link

jeznag commented Dec 29, 2016

@randohinn it's because the grunt dependency here is out of date. https://github.com/kuldarkalvik/grunt-liquid works.

e.g. ``` "grunt-liquid": "[email protected]:kuldarkalvik/grunt-liquid.git",


Hopefully @sirlantis will update this repo.

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

No branches or pull requests

2 participants