str.split is not a function
ta3pks opened this issue · comments
TA3PKS commented
Gregory Benner commented
For anyone else that gets this, it's because you are giving it a buffer and not a string.
Changing something like fs.readFileSync('filename.ini')
to fs.readFileSync('filename.ini', 'utf-8')
will fix the problem.