I wrote a JavaScript program to just query table in Snowflake. I saved the file with .js extension.
While executing .js file through git Bash(node filename.js) I am getting following error:
Syntax Error: Invalid or unexpected token
?[90m at wrap Safe (internal/modules/cjs/loader.js:1047:16)?[39m
?[90m at Module._compile (internal/modules/cjs/loader.js:1097:27)?[39m
?[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:1
0)?[39m
?[90m at Module.load (internal/modules/cjs/loader.js:977:32)?[39m
?[90m at Function.Module._load (internal/modules/cjs/loader.js:877:14)?[39m
?[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_ma
in.js:74:12)?[39m
?[90m at internal/main/run_main_module.js:18:47?[39m
Could anyone please help me in resolving this issue.