TheLeerName / mania-converter

Converter for FNF charts and from osu!mania to FNF, supports 1-512 key. There is a web version (link in website). UI Update 2!
https://theleername.github.io/mania-converter/
Apache License 2.0
21 stars 1 forks source link

Console error: Cannot read property 'toString' of undefined #5

Closed CristianCrespoA closed 2 years ago

CristianCrespoA commented 2 years ago

Why I always got this error? I run this cmd: ManiaConverter.exe "-fileinput:beatmap" "-fileoutput:converted" "-mode:2" "-side:1" "-key:4" "-artist:Artist"

C:\Local\mania\lib\Utils.js:106
                map[i] = map_[i].toString();
                                ^

TypeError: Cannot read property 'toString' of undefined
    at Object.exports.getMapOptions (C:\Local\mania\lib\Utils.js:106:19)
    at fnf_to_osu (C:\Local\mania\lib\Converter.js:420:22)
    at Object.exports.convert (C:\Local\mania\lib\Converter.js:14:13)
    at Object.<anonymous> (C:\Local\mania\index.js:33:23)
TheLeerName commented 2 years ago

uh, you sure what you have beatmap.json in folder with converter?

TheLeerName commented 2 years ago

check new update, maybe it fixed

CristianCrespoA commented 2 years ago

check new update, maybe it fixed

it fixed, thanks!