vmfparser
vmfparser copied to clipboard
parser is not a function
So i've taked the source code as is, and i am receving the following error. ` C:\Users\Jenkins\vmf-transpiler\index.js:11 const parsed = parser(str); ^
TypeError: parser is not a function
at C:\Users\Jenkins\vmf-transpiler\index.js:11:20
Any way to fix that ? If to bring
console.log(str);`, the VMF content is displaying but it does not converting in to the JSON.
VMF are from TF2 map.
It looks like the imports are not being processed correctly, what tool and what configuration did you use to compile the code ?