Skip to content
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

SyntaxError #6

Open
pampelune92 opened this issue Mar 8, 2020 · 2 comments
Open

SyntaxError #6

pampelune92 opened this issue Mar 8, 2020 · 2 comments

Comments

@pampelune92
Copy link

Hello Ian,
I've copied and paste your code from the landing and I get the following error when opening the landing page:

SyntaxError: Unexpected identifier in /workspace/WDB/Yelpcamp/v6/views/landing.ejs while compiling ejs

If the above error is not helpful, you may want to try EJS-Lint:
https://github.com/RyanZim/EJS-Lint
Or, if you meant to create an async function, pass `async: true` as an option.

Do you have any idea where that may be from? Thank you

@harshareddy794
Copy link

I also got same issue. My issue got resolved when included my footer in following format.
<%- include("partials/footer") -%>
Hope it would be useful

@palaashatri
Copy link

Use <%- include ("./partials/footer") %> in the bottom instead of the one served in the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants