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

Export not possible: "* filePath is not defined" error #5

Open
NiPfi opened this issue Nov 30, 2020 · 2 comments
Open

Export not possible: "* filePath is not defined" error #5

NiPfi opened this issue Nov 30, 2020 · 2 comments

Comments

@NiPfi
Copy link

NiPfi commented Nov 30, 2020

Hey there!

When I try and export any .json file to .csv using this tools command translation-xtractor export -i "./filename.json" I get the following console output:

Oops! Something did not go as planned:
* filePath is not defined

I'm on Windows 10 using Powershell but using CMD makes no difference. Is this maybe an OS related bug?

@SanderLedegen
Copy link
Member

Hi! I just tested it once more, using different combinations between double quotes and relative paths but I don't have any problems. Could you try using an absolute path just as a test, specifying a JSON file from the root of your project?

filePath is not defined is not an error this package is throwing itself, so it's a bit harder to debug. I'll also doublecheck on Windows 10 too somewhat later.

@NiPfi
Copy link
Author

NiPfi commented Dec 1, 2020

I tried an absolute path as well now and it threw exactly the same error.

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