shagu / mtg-browser

Convert MTG Card-Scanner (DelverLens) exports into a simple website with plain image files
MIT License
7 stars 2 forks source link

error running this ?? #3

Open wolfomat opened 2 years ago

wolfomat commented 2 years ago

ls: cannot access 'input/*.dlens.bin': No such file or directory Preparing Resources

wolfomat commented 2 years ago

okay, after looking into the make file, i just extracted the stuff by hand. now i am getting this error:

const ipattern = `{${card.color}} ${card.name.replaceAll('/', '|')} {${card.types}} (%s)`
                                              ^

TypeError: card.name.replaceAll is not a function at C:\dev\projects\mtg-browser-master\main.js:108:51 at Array.forEach () at Object. (C:\dev\projects\mtg-browser-master\main.js:68:7) ←[90m at Module._compile (internal/modules/cjs/loader.js:1063:30)←[39m ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)←[39m ←[90m at Module.load (internal/modules/cjs/loader.js:928:32)←[39m ←[90m at Function.Module._load (internal/modules/cjs/loader.js:769:14)←[39m ←[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)←[39m ←[90m at internal/main/run_main_module.js:17:47←[39m make: *** [Makefile:14: core] Error 1

shagu commented 2 years ago

Hi, please have a look at: https://github.com/shagu/mtg-browser/issues/2

I think you're running an old version of Node.js

wolfomat commented 2 years ago

take new node.js, now it hangs on a missing column "skryfall_id" in cards. How can i get this id in delver?!