parser is not a function
Tetragromaton opened this issue · comments
Tetragromaton commented
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.
l3ops commented
It looks like the imports are not being processed correctly, what tool and what configuration did you use to compile the code ?