DEV Community

Shailesh Waghole
Shailesh Waghole

Posted on

Getting Error .replace is not a Function

Liquid syntax error: Unknown tag 'PRODUCTNAME'

Top comments (4)

Collapse
 
patricnox profile image
PatricNox
var.toString().replace();
Collapse
 
shailesh6363 profile image
Shailesh Waghole • Edited

Same problem occur after changing this. I have attached screenshot.

Collapse
 
johnb21 profile image
Johnb21

There is an error in the attempted screenshot so let me ask you:

  1. Is your code base using typescript ? If so, what version
  2. Is your code base using node.js ? if so, what version?
Thread Thread
 
shailesh6363 profile image
Shailesh Waghole

Hello Johnb21
This code has node.js base and I have v10.19.0 version.