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

Fixed EJS error #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fixed EJS error #24

wants to merge 1 commit into from

Conversation

mrcmrc
Copy link

@mrcmrc mrcmrc commented Nov 13, 2015

Some fixed this:

  SyntaxError: missing ) after argument list in /home/ubuntu/workspace/ProjectRTC/views/index.ejs while compiling ejs
  at Function (native)
  at Object.Template.compile    (/home/ubuntu/workspace/ProjectRTC/node_modules/ejs/lib/ejs.js:464:12)
  at Object.compile (/home/ubuntu/workspace/ProjectRTC/node_modules/ejs/lib/ejs.js:288:16)
  at handleCache (/home/ubuntu/workspace/ProjectRTC/node_modules/ejs/lib/ejs.js:147:16)
  at View.exports.renderFile [as engine]    (/home/ubuntu/workspace/ProjectRTC/node_modules/ejs/lib/ejs.js:350:14)
  at View.render (/home/ubuntu/workspace/ProjectRTC/node_modules/express/lib/view.js:126:8)
  at tryRender    (/home/ubuntu/workspace/ProjectRTC/node_modules/express/lib/application.js:639:10)
  at EventEmitter.render (/home/ubuntu/workspace/ProjectRTC/node_modules/express/lib/application.js:591:3)
  at ServerResponse.render (/home/ubuntu/workspace/ProjectRTC/node_modules/express/lib/response.js:961:7)
  at index (/home/ubuntu/workspace/ProjectRTC/app/routes.js:5:9)

@neaplus
Copy link

neaplus commented Jan 11, 2016

sqlpad works on windows but at linux some error messages logged to console. I think this could be reason.

var __stack = { lineno: 1, input: "<% include header %>\n \n \n \n<% include footer %>", filename: "/usr/lib/node_modules/sqlpad/views/index.ejs" }; function rethrow(err, str, filename, lineno){

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

Successfully merging this pull request may close these issues.

2 participants