DEV Community

Discussion on: Build a simple app using Node JS and MySQL.

Collapse
 
parthp7493 profile image
Parth Parikh • Edited

Hello
I have followed your tutorial and i got error "Unexpected identifier in C:\Users\Admin\Desktop\circAdmin\views\dashboard.ejs while compiling ejs".
Please open the below link.

thepracticaldev.s3.amazonaws.com/i...

Collapse
 
siddm22 profile image
Siddhant Misra

Same error here. Any fix for this?

Collapse
 
anjemaaars profile image
Angel Marcelino

Hello, in case you are still looking for answers

all code snippets like this

<% include partials/header.ejs %>

change it into

<% include ('header') %>