• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

ES6 Arrow Functions dont work with Midori on Pi Zero [Compliments module latest error]

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 1.2k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    Mar
    last edited by Feb 7, 2017, 7:47 PM

    On line 51 of the compliments.js it says “this.complimentFile((response) => {” but this throws up an error with Midori which looks like it doesnt support E6 Arrow functions.

    I had this issue with either the MMM-Buttons or MMM-ProfileSwitcher (cant remember) module and changing it back out to a regular function solved the issue after a lot of time spent debugging.

    I know there are now quite a lot of people who are using the Pi Zero to run this as it runs perfectly, is there a way to perhaps get some consistency around and not use these in modules until its supported? Midori is the only browser that seems to run on the Pi Zero without issues.

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Enjoying MagicMirror? Please consider a donation!
    MagicMirror created by Michael Teeuw.
    Forum managed by Sam, technical setup by Karsten.
    This forum is using NodeBB as its core | Contributors
    Contact | Privacy Policy