MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. DeanoAus
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 32
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-Pnews

      Awesome, thanks! :D

      posted in Utilities
      D
      DeanoAus
    • RE: MMM-Pnews

      Also, mine doesn’t seem to be updating the feed. (Sorry!)

      Seeing this in the log?
      fatal: unable to access ‘https://github.com/cowboysdude/MMM-PNews/’: GnuTLS recv error (-54): Error in the pull function.

      posted in Utilities
      D
      DeanoAus
    • RE: MMM-Pnews

      Hey mate, I think I have a bug for you. :bug:

      In MMM-PNews.js you hard code in the sorting method (latest) for the source.

      this.url = "https://newsapi.org/v1/articles?source=" + this.config.newsSource + "&sortBy=Latest&apiKey=";
      

      Latest isn’t a valid sorting method for some sources.
      Example is the https://newsapi.org/abc-news-au-api

      If you hit that with the url they provide with Latest in there for sorting, it fails and gives

      {"status":"error","code":"sourceUnavailableSortedBy","message":"The news source you've selected (abc-news-au) isn't available sorted by latest"}
      

      But if you change Latest to Top in the url, works fine. :)

      This is causing some feeds to not work.

      posted in Utilities
      D
      DeanoAus
    • RE: Electron NPM Error

      Holy crap, that worked. I’m back in business!

      1000 camels to you, good sir!

      posted in Troubleshooting
      D
      DeanoAus
    • RE: Electron NPM Error
      pi@Pi:~/MagicMirror $ sudo npm install
      npm WARN lifecycle magicmirror@2.1.1~install: cannot run in wd %s %s (wd=%s) magicmirror@2.1.1 cd vendor && npm install /home/pi/MagicMirror
      npm WARN lifecycle magicmirror@2.1.1~postinstall: cannot run in wd %s %s (wd=%s) magicmirror@2.1.1 sh installers/postinstall/postinstall.sh /home/pi/MagicMirror
      npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed.
      npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
      pi@Pi:~/MagicMirror $
      
      posted in Troubleshooting
      D
      DeanoAus
    • RE: Electron NPM Error

      Soon as I wrote that…

      i@Pi:~/MagicMirror/node_modules $ sudo npm install electron
      
      > electron@1.6.6 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      magicmirror@2.1.1 /home/pi/MagicMirror
      └── electron@1.6.6 
      
      npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed.
      npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
      
      posted in Troubleshooting
      D
      DeanoAus
    • RE: Electron NPM Error

      now it’s just hanging at the install of electron. Been there for 5 minutes now :(

      pi@Pi:~/MagicMirror $ cd node_modules/
      pi@Pi:~/MagicMirror/node_modules $ sudo npm uninstall extract-zip
      - ms@0.7.1 node_modules/extract-zip/node_modules/ms
      - debug@2.2.0 node_modules/extract-zip/node_modules/debug
      - pend@1.2.0 node_modules/pend
      - fd-slicer@1.0.1 node_modules/fd-slicer
      - yauzl@2.4.1 node_modules/yauzl
      - extract-zip@1.6.4 node_modules/extract-zip
      npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed.
      npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
      pi@Pi:~/MagicMirror/node_modules $ sudo npm install extract-zip@1.6.0
      magicmirror@2.1.1 /home/pi/MagicMirror
      └─┬ spectron@3.6.2
        └─┬ electron-chromedriver@1.6.0
          └─┬ extract-zip@1.6.0 
            ├─┬ concat-stream@1.5.0 
            │ └─┬ readable-stream@2.0.6 
            │   └── isarray@1.0.0 
            ├── debug@0.7.4 
            └─┬ yauzl@2.4.1 
              └─┬ fd-slicer@1.0.1 
                └── pend@1.2.0 
      
      npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed.
      npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
      pi@Pi:~/MagicMirror/node_modules $ sudo npm install electron
      
      > electron@1.6.6 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      posted in Troubleshooting
      D
      DeanoAus
    • RE: Electron NPM Error

      @Nomis said in Electron NPM Error:

      https://forum.magicmirror.builders/topic/2460/magicmirror-fails-to-install-during-electron-installation

      Those steps didn’t help.

      posted in Troubleshooting
      D
      DeanoAus
    • RE: Electron NPM Error
      • /home/pi/MagicMirror/vendors npm install (This installed some missing stuff that seems to have not installed)
      • /home/pi/MagicMirror/ npm install (This failed, but showed that electron was missing. Only failed due to permission)
      • /home/pi/MagicMirror/ sudo npm install (This died with error ECONNRESET, so tried again)
      posted in Troubleshooting
      D
      DeanoAus
    • 1 / 1