Having issues with module development. Everything works fine when starting the app locally. However, when I push my code to my raspberry Pi0w an start it up, I get the following error:
pi@magic-mirror:~ $ sudo xinit /home/pi/midori_start.sh
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
Current Operating System: Linux magic-mirror 4.14.62+ #1134 Tue Aug 14 16:58:07 BST 2018 armv6l
Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1200 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:B4:99:96 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=6034293c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether
Build Date: 11 November 2016 11:59:59AM
xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
Current version of pixman: 0.33.3
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 27 17:56:14 2018
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
modprobe: FATAL: Module g2d_23 not found.
wm_set_cursor_visibility: visible using XCreateFontCursor
** Message: console message: [native code] @0: Initializing MagicMirror.
** Message: console message: [native code] @0: Loading core translation file: translations/en.json
** Message: console message: [native code] @0: Loading core translation fallback file: translations/en.json
** Message: console message: [native code] @0: Load script: modules/MMM-my-module//MMM-my-module.js
** Message: console message: http://localhost:8080/js/loader.js @190: Error on loading script:
** Message: console message: [native code] @0: Load stylesheet: css/custom.css
** Message: console message: [native code] @0: All modules started!