Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

handlebars: Access has been denied to resolve the property

//Add the following run time options to your code
app.engine(
  "handlebars",
  exphbs({
    defaultLayout: "main",
    runtimeOptions: {
      allowProtoPropertiesByDefault: true,
      allowProtoMethodsByDefault: true,
    },
  })
);
 
PREVIOUS NEXT
Tagged: #Access #denied #resolve #property
ADD COMMENT
Topic
Name
2+3 =