CJNE/vikeys

Error when loading keymap

Closed this issue · 3 comments

Hi

I really like the configurator you have built. It looks awesome!

I tried to create a new keymap from scratch, added one layer only and saved. Now when I try to load it vikeys seems to crash with this message:

TypeError: Cannot read property 'length' of null
    at /usr/local/lib/node_modules/vikeys/firmwares/tmk.js:372:30
    at fs.js:271:14
    at Object.oncomplete (fs.js:107:15)

My keymap_linus.h file looks like this: https://gist.github.com/Linuus/f0557f04c69265575568

Any ideas on how to fix it?

The issue seems to be that I haven't created any actions. But it shouldn't crash because of that :)

CJNE commented

NIce catch, yeah it should be an easy fix, thanks!

CJNE commented

Fixed, than you Linuus!