Closed georgeben closed 5 years ago
Are you running the same Hugo version in both places?
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: George Kurobara Benjamin notifications@github.com Sent: Sunday, May 5, 2019 4:02:54 PM To: appernetic/hugo-nederburg-theme Cc: Subscribed Subject: [appernetic/hugo-nederburg-theme] function "newScratch" not defined (#62)
The hugo website runs perfectly locally, but when I try to deploy to netlify, I get the error:
Failed to add template "_default/single.html" in path "_default/single.html": template: _default/single.html:8: function "newScratch" not defined
Please what can I do?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/appernetic/hugo-nederburg-theme/issues/62, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABZVMUXKZV2TVSYDRO72A6LPT5DP5ANCNFSM4HK4FJDQ.
@MatthewMcD I just changed the version of hugo on Netlify to the latest version. Everything works smoothly now. Thank you very much.
Excellent, that is a common issue when changing from local development. The other is metting with the root url.
M
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: George Kurobara Benjamin notifications@github.com Sent: Sunday, May 5, 2019 5:20:54 PM To: appernetic/hugo-nederburg-theme Cc: Matthew McDermott; Mention Subject: Re: [appernetic/hugo-nederburg-theme] function "newScratch" not defined (#62)
@MatthewMcDhttps://github.com/MatthewMcD I just changed the version of hugo on Netlify to the latest version. Everything works smoothly now. Thank you very much.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/appernetic/hugo-nederburg-theme/issues/62#issuecomment-489476232, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABZVMUWEPTMLJ4I6RMG3GRLPT52WJANCNFSM4HK4FJDQ.
The hugo website runs perfectly locally, but when I try to deploy to netlify, I get the error:
Failed to add template "_default/single.html" in path "_default/single.html": template: _default/single.html:8: function "newScratch" not defined
Please what can I do?