Awesome, thanks! :D
Read the statement by Michael Teeuw here.
Posts
-
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. -
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-apiIf 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.
-
RE: Electron NPM Error
Holy crap, that worked. I’m back in business!
1000 camels to you, good sir!
-
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 $
-
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.
-
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
-
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)