Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser is not a function #2

Open
Tetragromaton opened this issue Jun 17, 2020 · 1 comment
Open

parser is not a function #2

Tetragromaton opened this issue Jun 17, 2020 · 1 comment

Comments

@Tetragromaton
Copy link

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.

@leops
Copy link
Owner

leops commented Jun 18, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants