technosophos / glowbear

add custom Touch Bar buttons on macOS MacBook Pro
Other
39 stars 3 forks source link

Application crashes on start #7

Open PierreCapo opened 5 years ago

PierreCapo commented 5 years ago

Hello ! When I want to run the app on my Mac 10.14.5 by doing $ yarn start The app doesn't launch and the terminal outputs:

A Javascript error occured in the main process
Uncaught Exception:
TypeError: Cannot read property 'forEach' of undefined
    at Object.commands (/Users/.../Documents/glowbear/dist/commands.js:11:17)
    at App.<anonymous> (/Users/.../Documents/glowbear/dist/index.js:47:25)
    at Object.onceWrapper (events.js:293:19)
    at emitTwo (events.js:111:20)
    at App.emit (events.js:194:7)