ReferenceError: XPathExpression is not defined

I am unable to resolve this error. Need guidance to resolve this error.

ReferenceError: XPathExpression is not defined
at Object. (E:\Databases\FruitsProject\app.js:2:16)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47

Hello @Hardik_Rathod , Welcome to the Developer Community Forum,

It looks like you have used XPathExpression property but it is not defined, can you please show more details like code in the app.js file?