ReferenceError: parentNode property of given node is undefined
with multiline template litetral
Code:
const sql_query = `select * from sub JOIN ps ON
sub.subsystem_id=ps.subsystem_id
JOIN project ON project.id = ps.project_id
where sub.subsystem_uid in (${ids.map(d=>`'${d}'`).join(',')})
${otherWhere}
`;
ReferenceError: parentNode property of given node is undefined
with multiline template litetralCode: