Closed rdomingue closed 9 years ago
For now I found that it seems to be from code inside some files that throw the errors. The list is not complete but I changed things like
<% Application Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %>
To
< Application Inherits="Umbraco.Web.UmbracoApplication" Language="C#" >
And remove some things like ${major}
Somehow I can tell during the copying phase of slush to ignore caracters like theses ?
I think it's more related to gulp-template than slush. as you can see the <% %>
syntax is part of the https://lodash.com/docs#template. I think you should try something like
<%= '\\<% Application Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %\\>'%>
Exactly what I found after yeah.
Well the problem is that I pull umbraco template so I cannot (and shouldn't) modify the files.
I will need to pass a parameter to gulp-template to use something else than <% %>
. I don't know if it's doable.
The exemple I used here it's not really a big problem but I have other files that I must fill with variables that have bigger problems.
Thanks to point me a suggestion @amitmtrn I will try to find something on lodash.com but all this stuff is far from my field of knowledge. Thanks
I used Slush to generate a lot of projects without any problems. But now for one project I have this error:
I don't know exactly why, but when removing some folders and files, the slush works again. I was unable to find exactly what is causing this error. Is it in one of the modules? Is it a file copy/pasted in the new folder from slush that cause the error. Is it a 'too long name' problem?