Hi guys, just wondering if there is something I can do to get better error reporting when using the following command to create a language version of my course?
grunt translate:import --targetLang=th-th --format=csv --replace
Currently, I'm only getting the following error message:
>> TypeError: Cannot read property 'length' of undefined
This, unfortunately, tells me nothing - I really need to know what line etc. the issue is so I can attempt to fix it.
If it makes any difference, it is the course.csv file, exported from Adapt Author Tool.
Thanks for any help.
Full output message:
$ grunt translate:import --targetLang=th-th --format=csv --replace
Running "translate:import" (translate) task
>> Using src/ folder for course data...
>> Encoding detected as UTF-8 languagefiles/th-th/articles.csv
>> Delimiter detected as , in languagefiles/th-th/articles.csv
>> Encoding detected as UTF-8 languagefiles/th-th/blocks.csv
>> Delimiter detected as , in languagefiles/th-th/blocks.csv
>> Encoding detected as UTF-8 languagefiles/th-th/components.csv
>> Delimiter detected as , in languagefiles/th-th/components.csv
>> Encoding detected as UTF-8 languagefiles/th-th/contentObjects.csv
>> Delimiter detected as , in languagefiles/th-th/contentObjects.csv
>> Encoding detected as UTF-8 languagefiles/th-th/course.csv
>> Delimiter detected as , in languagefiles/th-th/course.csv
>> TypeError: Cannot read property 'length' of undefined
Done.