Error at parseCodeToAST: this.input.charCodeAt is not a function
node:internal/process/esm_loader:108
internalBinding('errors').triggerUncaughtException(
^
TypeError: this.input.charCodeAt is not a function
TypeError: this.input.charCodeAt is not a function
at at.skipSpace (~\js2flowchart\dist\js2flowchart.js:1:214760)
at at.nextToken (~\js2flowchart\dist\js2flowchart.js:1:213390)
at at.parse (~\js2flowchart\dist\js2flowchart.js:1:298151)
at t.parse (~\js2flowchart\dist\js2flowchart.js:1:299385)
at Y (~\js2flowchart\dist\js2flowchart.js:8:131355)
at Object.buildAst (~\js2flowchart\dist\js2flowchart.js:8:140579)
at Object.build (~\js2flowchart\dist\js2flowchart.js:8:140502)
at file:///~/js2Flowchart.js:37:34
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
Error at parseCodeToAST: this.input.charCodeAt is not a function node:internal/process/esm_loader:108 internalBinding('errors').triggerUncaughtException( ^
TypeError: this.input.charCodeAt is not a function
TypeError: this.input.charCodeAt is not a function at at.skipSpace (~\js2flowchart\dist\js2flowchart.js:1:214760) at at.nextToken (~\js2flowchart\dist\js2flowchart.js:1:213390) at at.parse (~\js2flowchart\dist\js2flowchart.js:1:298151) at t.parse (~\js2flowchart\dist\js2flowchart.js:1:299385) at Y (~\js2flowchart\dist\js2flowchart.js:8:131355) at Object.buildAst (~\js2flowchart\dist\js2flowchart.js:8:140579) at Object.build (~\js2flowchart\dist\js2flowchart.js:8:140502) at file:///~/js2Flowchart.js:37:34 at ModuleJob.run (node:internal/modules/esm/module_job:193:25) at async Promise.all (index 0)