-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Error after docpad update #710
Comments
Sorry to hear you're having trouble Māris. Could you please try removing the |
Yes, it started to work. Also if I add empty "meta" to "site" config, then everything is fine. Why it work in previous version? |
I have no idea myself. What version was the previous version you were using? |
Previous version was 6.54.4, but it was local version only for HTML5 boilerplate skeleton. Global version was latest already, so I had only to run "docpad update". Seems that adding "meta" to config fixed the issue for me. But HTML5 boilerplate skeleton does not work with latest version and probably other skeletons which uses site config similar way. |
Looks like this commit might cause the issue: |
Found the issue. fixing now. |
Should be fixed up with v6.54.7 with 4622688#diff-e6948c0fbbce10ea9b720d5249d50c1dR1838 |
Thanks! That was fast :) |
Actually just tried to create new project using same skeleton and have same issue. It works fine until "docpad update". Version now is 6.54.7. |
Yeah skeletons determine which version of DocPad they want to use. So basically the skeleton was using an older version until you updated it. |
I can't reproduce this problem... |
Now I have global version of docpad: 6.54.9
|
Your local version appears to remain 6.53.4. Did you try to update it through a classic npm update after changing the version number in your package.json? |
If I run "docpad --version" it shows:
package.config now contains 6.54.9 version for docpad and even after "npm update" error appears. |
I see your problem...the docpad.config is missing the meta block...add a meta block to your templateData in the docpad.config. (if your not sure where to look in the file then search for this text "# The website's scripts" and put the below code after the scripts array)
I think the html boilerplate needs this fix too...also |
Ohhhh right. I get the problem now. |
- Fixed #710 by defaulting values to array if not set - Updated deps - Cleaned up some balUtil.flow calls
Thanks, great! Now it works with latest version. |
I created new project with HTML5 boilderplate with Jade and Less skeleton. Then run docpad update to update to latest version and get this error:
I am using Windows.
The only strange thing in output when upgrading docpad was this:
But previous version work also without Visual Studio 2010 (I have VS2013 installed only).
The text was updated successfully, but these errors were encountered: