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

Issue with handlebars at runtime errors are coming #4453

Open
bandlachiranjeevi opened this issue Jun 15, 2023 · 2 comments
Open

Issue with handlebars at runtime errors are coming #4453

bandlachiranjeevi opened this issue Jun 15, 2023 · 2 comments
Labels
support Questions, discussions, and general support

Comments

@bandlachiranjeevi
Copy link

Support plan

  • is this issue currently blocking your project? (yes/no):
  • is this issue affecting a production system? (yes/no):

Context

  • node version:
  • module version with issue:
  • last module version without issue:
  • environment (e.g. node, browser, native):
  • used with (e.g. hapi application, another framework, standalone, ...):
  • any other relevant information:

What are you trying to achieve or the steps to reproduce?

at compileInput (/usr/test/webapp/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:508:19)

 at ret (/usr/test/webapp/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:517:18)

  at Object.renderer [as template] (/usr/test/webapp/node_modules/@hapi/vision/lib/manager.js:102:40)

at /usr/test/webapp/node_modules/@hapi/vision/lib/manager.js:417:22

Debug: internal, implementation, error 

Error: Parse error on line 912:
...rve" >{{{Description} }}

Expecting 'CLOSE_RAW_BLOCK', 'CLOSE', 'CLOSE_UNESCAPED', 'OPEN_SEXPR', 'CLOSE_SEXPR', 'ID', 'OPEN_BLOCK_PARAMS', 'STRING', 'NUMBER', 'BOOLEAN', 'UNDEFINED', 'NULL', 'DATA', 'SEP', got 'INVALID': Parse error on line 912:

Getting above errors when I ran the app in azure app service. from locally it is fine no errors found.

What was the result you got?

What result did you expect?

@bandlachiranjeevi bandlachiranjeevi added the support Questions, discussions, and general support label Jun 15, 2023
@bandlachiranjeevi
Copy link
Author

Below versions used :

"@hapi/hapi": "^21.3.0",
"@hapi/inert": "^7.1.0",
"@hapi/vision": "^7.0.1"
"handlebars": "^4.7.7",

@Marsup
Copy link
Contributor

Marsup commented Jun 15, 2023

The error shows a pretty clear mistake in your closing brackets, as mentioned in the error codes. Have you tried fixing that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Questions, discussions, and general support
Projects
None yet
Development

No branches or pull requests

2 participants