We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is the result of some console.logs I put in trying to figure out why this plugin is failing.
ejs-brunch ======================= ejs compile { data: '<p>Hello</p>', path: 'web/static/templates/template.ejs', map: undefined } ======================= ======================= ejs basePath web/static/templates/template.html.ejs [ 'web/static/templates/template.html.ejs' ] [TypeError: Path must be a string. Received undefined]
It turns out baseDir is coming up undefined for some reason. Handlebars-brunch works fine so I don't know why it's not finding the directory...
var baseDir = this.config.watched.find(d => parts.indexOf(d) > -1); console.log("baseDir:", baseDir); // "undefined"
The text was updated successfully, but these errors were encountered:
This is where the problem is:
var parts = filePath.split(path.sep);
path.sep = "" because I work on windows. But all of our project paths use "/" of course...
Sorry, something went wrong.
No branches or pull requests
This is the result of some console.logs I put in trying to figure out why this plugin is failing.
It turns out baseDir is coming up undefined for some reason. Handlebars-brunch works fine so I don't know why it's not finding the directory...
The text was updated successfully, but these errors were encountered: