Skip to content

SyntaxError: Unexpected token '/' #117

@retex73

Description

@retex73

In login.ejs the include partial generated an error "SyntaxError: Unexpected token '/'.."

The fix for me was to change how the partial was referenced

from this

<% include ./partials/messages %>

to this

<%- include ("./partials/messages") %>

Hope that helps someone

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions