vmfparser icon indicating copy to clipboard operation
vmfparser copied to clipboard

parser is not a function

Open Tetragromaton opened this issue 4 years ago • 1 comments

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 bringconsole.log(str);`, the VMF content is displaying but it does not converting in to the JSON. VMF are from TF2 map.

Tetragromaton avatar Jun 17 '20 08:06 Tetragromaton

It looks like the imports are not being processed correctly, what tool and what configuration did you use to compile the code ?

leops avatar Jun 18 '20 13:06 leops