Read the statement by Michael Teeuw here.
MagicMirror² v2.15.0 is available don't work.
-
@sdetweil how can I get the new one ?
-
I’ve been playing with weather.gov and it seems to be having problems. My config:
{ module: "weather", position: "top_right", type: "current", weatherProvider: "weather.gov", // windUnits: "imperial", tempUnits: "imperial", useBeaufort: false, fade: false, config: { // See 'Configuration options' for more information. apiBase: "https://api.weather.gov/points/", weatherEndpoint: "/forecast/hourly", // for current lat: 40.25571, lon: -74.39416, } }, /* * / { module: "weather", position: "top_right", type: "daily", weatherProvider: "weather.gov", //Default value: openweathermap windUnits: "imperial", tempUnits: "imperial", useBeaufort: false, fade: false, config: { // See 'Configuration options' for more information. apiBase: "https://api.weather.gov/points/", weatherEndpoint: "/forecast", // for forecast lat: 40.25571, lon: -74.39416, } }, /* */
and from the browser:
api.weather.gov/points/2.5/forecast/hourly?lat=40.25571&lon=-74.39416&units=imperial&lang=en&APPID=:1 Failed to load resource: the server responded with a status of 404 () openweathermap.js:45 Could not load data ... XMLHttpRequest (anonymous) @ openweathermap.js:45
That URL is all sorts of wonky. The points URL returns the points to get the needed properties:
Mine: https://api.weather.gov/points/40.25571,-74.39416 (under properties “gridId”: “PHI”,“gridX”: 73,“gridY”: 92, )
then builds:
Mine: https://api.weather.gov/gridpoints/PHI/73,92/forecast -
@linuxha forecast has a problem… there is a timing bug in the module…
if u change the updateInterval to 1 minute it will update then , or 2 minutes,
default is 10 and it will update then, but 10 minutes is a long time to wait for 1st update…I opened an issue , someone has to work on it.
sadly it is not any easy fix -
@sdetweil thanks, I made the changes but the results are the same. I think there’s something else wrong with the weather.gov part of the module.
-
Problem with MMM-DHT-Sensor with v2.15.0 - Can you guys help me get this module back operating?
> mmm-dht-sensor@1.1.1 postinstall /home/pi/MagicMirror/modules/MMM-DHT-Sensor > electron-rebuild -e ../../node_modules/electron ⠋ Searching dependency tree An unhandled error occurred inside electron-rebuild Could not detect abi for version 11.3.0 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron Error: Could not detect abi for version 11.3.0 and runtime electron. Updating "node-abi" might help solve this issue if it is a new release of electron at Object.getAbi (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-abi/index.js:30:9) at new Rebuilder (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:126:28) at rebuildWithOptions (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:404:23) at Object.doRebuild [as rebuild] (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/electron-rebuild/lib/src/rebuild.js:427:16) at /home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/electron-rebuild/lib/src/cli.js:120:33 at Generator.next (<anonymous>) at fulfilled (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/electron-rebuild/lib/src/cli.js:6:58) npm ERR! code ELIFECYCLE npm ERR! errno 255 npm ERR! mmm-dht-sensor@1.1.1 postinstall: `electron-rebuild -e ../../node_modules/electron` npm ERR! Exit status 255 npm ERR! npm ERR! Failed at the mmm-dht-sensor@1.1.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2021-04-02T22_35_34_988Z-debug.log
Log is as follows:
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'install' ] 2 info using npm@6.14.10 3 info using node@v10.24.0 4 verbose npm-session 2c69a8fa27d520f4 5 silly install runPreinstallTopLevelLifecycles 6 silly preinstall mmm-dht-sensor@1.1.1 7 info lifecycle mmm-dht-sensor@1.1.1~preinstall: mmm-dht-sensor@1.1.1 8 silly install loadCurrentTree 9 silly install readLocalPackageData 10 timing stage:loadCurrentTree Completed in 3333ms 11 silly install loadIdealTree 12 silly install cloneCurrentTreeToIdealTree 13 timing stage:loadIdealTree:cloneCurrentTree Completed in 29ms 14 silly install loadShrinkwrap 15 timing stage:loadIdealTree:loadShrinkwrap Completed in 1663ms 16 silly install loadAllDepsIntoIdealTree 17 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1711ms 18 timing stage:loadIdealTree Completed in 4008ms 19 silly currentTree mmm-dht-sensor@1.1.1 19 silly currentTree ├── abbrev@1.1.1 19 silly currentTree ├── ajv@6.12.2 19 silly currentTree ├── ansi-regex@2.1.1 19 silly currentTree ├── ansi-styles@3.2.1 19 silly currentTree ├── aproba@1.2.0 19 silly currentTree ├── are-we-there-yet@1.1.5 19 silly currentTree ├── asn1@0.2.4 19 silly currentTree ├── assert-plus@1.0.0 19 silly currentTree ├── asynckit@0.4.0 19 silly currentTree ├── aws-sign2@0.7.0 19 silly currentTree ├── aws4@1.9.1 19 silly currentTree ├── balanced-match@1.0.0 19 silly currentTree ├── bcrypt-pbkdf@1.0.2 19 silly currentTree ├── brace-expansion@1.1.11 19 silly currentTree ├── camelcase@5.3.1 19 silly currentTree ├── caseless@0.12.0 19 silly currentTree ├── chalk@2.4.2 19 silly currentTree ├── chownr@1.1.4 19 silly currentTree ├── cli-cursor@2.1.0 19 silly currentTree ├── cli-spinners@2.3.0 19 silly currentTree ├─┬ cliui@5.0.0 19 silly currentTree │ ├── ansi-regex@4.1.0 19 silly currentTree │ ├── is-fullwidth-code-point@2.0.0 19 silly currentTree │ ├── string-width@3.1.0 19 silly currentTree │ └── strip-ansi@5.2.0 19 silly currentTree ├── clone@1.0.4 19 silly currentTree ├── code-point-at@1.1.0 19 silly currentTree ├── color-convert@1.9.3 19 silly currentTree ├── color-name@1.1.3 19 silly currentTree ├── colors@1.4.0 19 silly currentTree ├── combined-stream@1.0.8 19 silly currentTree ├── concat-map@0.0.1 19 silly currentTree ├── console-control-strings@1.1.0 19 silly currentTree ├── core-util-is@1.0.2 19 silly currentTree ├── dashdash@1.14.1 19 silly currentTree ├── debug@4.1.1 19 silly currentTree ├── decamelize@1.2.0 19 silly currentTree ├── defaults@1.0.3 19 silly currentTree ├── delayed-stream@1.0.0 19 silly currentTree ├── delegates@1.0.0 19 silly currentTree ├── detect-libc@1.0.3 19 silly currentTree ├── ecc-jsbn@0.1.2 19 silly currentTree ├── electron-rebuild@1.10.1 19 silly currentTree ├── emoji-regex@7.0.3 19 silly currentTree ├── env-paths@2.2.0 19 silly currentTree ├── escape-string-regexp@1.0.5 19 silly currentTree ├── extend@3.0.2 19 silly currentTree ├── extsprintf@1.3.0 19 silly currentTree ├── fast-deep-equal@3.1.1 19 silly currentTree ├── fast-json-stable-stringify@2.1.0 19 silly currentTree ├── find-up@3.0.0 19 silly currentTree ├── forever-agent@0.6.1 19 silly currentTree ├── form-data@2.3.3 19 silly currentTree ├── fs-extra@8.1.0 19 silly currentTree ├── fs-minipass@1.2.7 19 silly currentTree ├── fs.realpath@1.0.0 19 silly currentTree ├── gauge@2.7.4 19 silly currentTree ├── get-caller-file@2.0.5 19 silly currentTree ├── getpass@0.1.7 19 silly currentTree ├── glob@7.1.6 19 silly currentTree ├── graceful-fs@4.2.3 19 silly currentTree ├── har-schema@2.0.0 19 silly currentTree ├── har-validator@5.1.3 19 silly currentTree ├── has-flag@3.0.0 19 silly currentTree ├── has-unicode@2.0.1 19 silly currentTree ├── http-signature@1.2.0 19 silly currentTree ├── inflight@1.0.6 19 silly currentTree ├── inherits@2.0.4 19 silly currentTree ├── is-fullwidth-code-point@1.0.0 19 silly currentTree ├── is-typedarray@1.0.0 19 silly currentTree ├── isarray@1.0.0 19 silly currentTree ├── isexe@2.0.0 19 silly currentTree ├── isstream@0.1.2 19 silly currentTree ├── jsbn@0.1.1 19 silly currentTree ├── json-schema-traverse@0.4.1 19 silly currentTree ├── json-schema@0.2.3 19 silly currentTree ├── json-stringify-safe@5.0.1 19 silly currentTree ├── jsonfile@4.0.0 19 silly currentTree ├── jsprim@1.4.1 19 silly currentTree ├── locate-path@3.0.0 19 silly currentTree ├── lodash.assign@4.2.0 19 silly currentTree ├── log-symbols@2.2.0 19 silly currentTree ├── mime-db@1.44.0 19 silly currentTree ├── mime-types@2.1.27 19 silly currentTree ├── mimic-fn@1.2.0 19 silly currentTree ├── minimatch@3.0.4 19 silly currentTree ├── minimist@1.2.5 19 silly currentTree ├── minipass@2.9.0 19 silly currentTree ├── minizlib@1.3.3 19 silly currentTree ├── mkdirp@0.5.5 19 silly currentTree ├── ms@2.1.2 19 silly currentTree ├── node-abi@2.16.0 19 silly currentTree ├── node-addon-api@1.7.2 19 silly currentTree ├── node-dht-sensor@0.4.3 19 silly currentTree ├── node-gyp@6.1.0 19 silly currentTree ├── nopt@4.0.3 19 silly currentTree ├── npmlog@4.1.2 19 silly currentTree ├── number-is-nan@1.0.1 19 silly currentTree ├── oauth-sign@0.9.0 19 silly currentTree ├── object-assign@4.1.1 19 silly currentTree ├── once@1.4.0 19 silly currentTree ├── onetime@2.0.1 19 silly currentTree ├─┬ ora@3.4.0 19 silly currentTree │ ├── ansi-regex@4.1.0 19 silly currentTree │ └── strip-ansi@5.2.0 19 silly currentTree ├── os-homedir@1.0.2 19 silly currentTree ├── os-tmpdir@1.0.2 19 silly currentTree ├── osenv@0.1.5 19 silly currentTree ├── p-limit@2.3.0 19 silly currentTree ├── p-locate@3.0.0 19 silly currentTree ├── p-try@2.2.0 19 silly currentTree ├── path-exists@3.0.0 19 silly currentTree ├── path-is-absolute@1.0.1 19 silly currentTree ├── performance-now@2.1.0 19 silly currentTree ├── process-nextick-args@2.0.1 19 silly currentTree ├── psl@1.8.0 19 silly currentTree ├── punycode@2.1.1 19 silly currentTree ├── qs@6.5.2 19 silly currentTree ├── readable-stream@2.3.7 19 silly currentTree ├── request@2.88.2 19 silly currentTree ├── require-directory@2.1.1 19 silly currentTree ├── require-main-filename@2.0.0 19 silly currentTree ├── restore-cursor@2.0.0 19 silly currentTree ├── rimraf@2.7.1 19 silly currentTree ├── rxjs@6.5.5 19 silly currentTree ├── safe-buffer@5.1.2 19 silly currentTree ├── safer-buffer@2.1.2 19 silly currentTree ├── semver@5.7.1 19 silly currentTree ├── set-blocking@2.0.0 19 silly currentTree ├── signal-exit@3.0.3 19 silly currentTree ├─┬ spawn-rx@3.0.0 19 silly currentTree │ ├── debug@2.6.9 19 silly currentTree │ └── ms@2.0.0 19 silly currentTree ├── sshpk@1.16.1 19 silly currentTree ├── string_decoder@1.1.1 19 silly currentTree ├── string-width@1.0.2 19 silly currentTree ├── strip-ansi@3.0.1 19 silly currentTree ├── supports-color@5.5.0 19 silly currentTree ├── tar@4.4.13 19 silly currentTree ├── tough-cookie@2.5.0 19 silly currentTree ├── tslib@1.11.1 19 silly currentTree ├── tunnel-agent@0.6.0 19 silly currentTree ├── tweetnacl@0.14.5 19 silly currentTree ├── universalify@0.1.2 19 silly currentTree ├── uri-js@4.2.2 19 silly currentTree ├── util-deprecate@1.0.2 19 silly currentTree ├── uuid@3.4.0 19 silly currentTree ├── verror@1.10.0 19 silly currentTree ├── wcwidth@1.0.1 19 silly currentTree ├── which-module@2.0.0 19 silly currentTree ├── which@1.3.1 19 silly currentTree ├── wide-align@1.1.3 19 silly currentTree ├─┬ wrap-ansi@5.1.0 19 silly currentTree │ ├── ansi-regex@4.1.0 19 silly currentTree │ ├── is-fullwidth-code-point@2.0.0 19 silly currentTree │ ├── string-width@3.1.0 19 silly currentTree │ └── strip-ansi@5.2.0 19 silly currentTree ├── wrappy@1.0.2 19 silly currentTree ├── y18n@4.0.0 19 silly currentTree ├── yallist@3.1.1 19 silly currentTree ├── yargs-parser@15.0.1 19 silly currentTree └─┬ yargs@14.2.3 19 silly currentTree ├── ansi-regex@4.1.0 19 silly currentTree ├── is-fullwidth-code-point@2.0.0 19 silly currentTree ├── string-width@3.1.0 19 silly currentTree └── strip-ansi@5.2.0 20 silly idealTree mmm-dht-sensor@1.1.1 20 silly idealTree ├── abbrev@1.1.1 20 silly idealTree ├── ajv@6.12.2 20 silly idealTree ├── ansi-regex@2.1.1 20 silly idealTree ├── ansi-styles@3.2.1 20 silly idealTree ├── aproba@1.2.0 20 silly idealTree ├── are-we-there-yet@1.1.5 20 silly idealTree ├── asn1@0.2.4 20 silly idealTree ├── assert-plus@1.0.0 20 silly idealTree ├── asynckit@0.4.0 20 silly idealTree ├── aws-sign2@0.7.0 20 silly idealTree ├── aws4@1.9.1 20 silly idealTree ├── balanced-match@1.0.0 20 silly idealTree ├── bcrypt-pbkdf@1.0.2 20 silly idealTree ├── brace-expansion@1.1.11 20 silly idealTree ├── camelcase@5.3.1 20 silly idealTree ├── caseless@0.12.0 20 silly idealTree ├── chalk@2.4.2 20 silly idealTree ├── chownr@1.1.4 20 silly idealTree ├── cli-cursor@2.1.0 20 silly idealTree ├── cli-spinners@2.3.0 20 silly idealTree ├─┬ cliui@5.0.0 20 silly idealTree │ ├── ansi-regex@4.1.0 20 silly idealTree │ ├── is-fullwidth-code-point@2.0.0 20 silly idealTree │ ├── string-width@3.1.0 20 silly idealTree │ └── strip-ansi@5.2.0 20 silly idealTree ├── clone@1.0.4 20 silly idealTree ├── code-point-at@1.1.0 20 silly idealTree ├── color-convert@1.9.3 20 silly idealTree ├── color-name@1.1.3 20 silly idealTree ├── colors@1.4.0 20 silly idealTree ├── combined-stream@1.0.8 20 silly idealTree ├── concat-map@0.0.1 20 silly idealTree ├── console-control-strings@1.1.0 20 silly idealTree ├── core-util-is@1.0.2 20 silly idealTree ├── dashdash@1.14.1 20 silly idealTree ├── debug@4.1.1 20 silly idealTree ├── decamelize@1.2.0 20 silly idealTree ├── defaults@1.0.3 20 silly idealTree ├── delayed-stream@1.0.0 20 silly idealTree ├── delegates@1.0.0 20 silly idealTree ├── detect-libc@1.0.3 20 silly idealTree ├── ecc-jsbn@0.1.2 20 silly idealTree ├── electron-rebuild@1.10.1 20 silly idealTree ├── emoji-regex@7.0.3 20 silly idealTree ├── env-paths@2.2.0 20 silly idealTree ├── escape-string-regexp@1.0.5 20 silly idealTree ├── extend@3.0.2 20 silly idealTree ├── extsprintf@1.3.0 20 silly idealTree ├── fast-deep-equal@3.1.1 20 silly idealTree ├── fast-json-stable-stringify@2.1.0 20 silly idealTree ├── find-up@3.0.0 20 silly idealTree ├── forever-agent@0.6.1 20 silly idealTree ├── form-data@2.3.3 20 silly idealTree ├── fs-extra@8.1.0 20 silly idealTree ├── fs-minipass@1.2.7 20 silly idealTree ├── fs.realpath@1.0.0 20 silly idealTree ├── gauge@2.7.4 20 silly idealTree ├── get-caller-file@2.0.5 20 silly idealTree ├── getpass@0.1.7 20 silly idealTree ├── glob@7.1.6 20 silly idealTree ├── graceful-fs@4.2.3 20 silly idealTree ├── har-schema@2.0.0 20 silly idealTree ├── har-validator@5.1.3 20 silly idealTree ├── has-flag@3.0.0 20 silly idealTree ├── has-unicode@2.0.1 20 silly idealTree ├── http-signature@1.2.0 20 silly idealTree ├── inflight@1.0.6 20 silly idealTree ├── inherits@2.0.4 20 silly idealTree ├── is-fullwidth-code-point@1.0.0 20 silly idealTree ├── is-typedarray@1.0.0 20 silly idealTree ├── isarray@1.0.0 20 silly idealTree ├── isexe@2.0.0 20 silly idealTree ├── isstream@0.1.2 20 silly idealTree ├── jsbn@0.1.1 20 silly idealTree ├── json-schema-traverse@0.4.1 20 silly idealTree ├── json-schema@0.2.3 20 silly idealTree ├── json-stringify-safe@5.0.1 20 silly idealTree ├── jsonfile@4.0.0 20 silly idealTree ├── jsprim@1.4.1 20 silly idealTree ├── locate-path@3.0.0 20 silly idealTree ├── lodash.assign@4.2.0 20 silly idealTree ├── log-symbols@2.2.0 20 silly idealTree ├── mime-db@1.44.0 20 silly idealTree ├── mime-types@2.1.27 20 silly idealTree ├── mimic-fn@1.2.0 20 silly idealTree ├── minimatch@3.0.4 20 silly idealTree ├── minimist@1.2.5 20 silly idealTree ├── minipass@2.9.0 20 silly idealTree ├── minizlib@1.3.3 20 silly idealTree ├── mkdirp@0.5.5 20 silly idealTree ├── ms@2.1.2 20 silly idealTree ├── node-abi@2.16.0 20 silly idealTree ├── node-addon-api@1.7.2 20 silly idealTree ├── node-dht-sensor@0.4.3 20 silly idealTree ├── node-gyp@6.1.0 20 silly idealTree ├── nopt@4.0.3 20 silly idealTree ├── npmlog@4.1.2 20 silly idealTree ├── number-is-nan@1.0.1 20 silly idealTree ├── oauth-sign@0.9.0 20 silly idealTree ├── object-assign@4.1.1 20 silly idealTree ├── once@1.4.0 20 silly idealTree ├── onetime@2.0.1 20 silly idealTree ├─┬ ora@3.4.0 20 silly idealTree │ ├── ansi-regex@4.1.0 20 silly idealTree │ └── strip-ansi@5.2.0 20 silly idealTree ├── os-homedir@1.0.2 20 silly idealTree ├── os-tmpdir@1.0.2 20 silly idealTree ├── osenv@0.1.5 20 silly idealTree ├── p-limit@2.3.0 20 silly idealTree ├── p-locate@3.0.0 20 silly idealTree ├── p-try@2.2.0 20 silly idealTree ├── path-exists@3.0.0 20 silly idealTree ├── path-is-absolute@1.0.1 20 silly idealTree ├── performance-now@2.1.0 20 silly idealTree ├── process-nextick-args@2.0.1 20 silly idealTree ├── psl@1.8.0 20 silly idealTree ├── punycode@2.1.1 20 silly idealTree ├── qs@6.5.2 20 silly idealTree ├── readable-stream@2.3.7 20 silly idealTree ├── request@2.88.2 20 silly idealTree ├── require-directory@2.1.1 20 silly idealTree ├── require-main-filename@2.0.0 20 silly idealTree ├── restore-cursor@2.0.0 20 silly idealTree ├── rimraf@2.7.1 20 silly idealTree ├── rxjs@6.5.5 20 silly idealTree ├── safe-buffer@5.1.2 20 silly idealTree ├── safer-buffer@2.1.2 20 silly idealTree ├── semver@5.7.1 20 silly idealTree ├── set-blocking@2.0.0 20 silly idealTree ├── signal-exit@3.0.3 20 silly idealTree ├─┬ spawn-rx@3.0.0 20 silly idealTree │ ├── debug@2.6.9 20 silly idealTree │ └── ms@2.0.0 20 silly idealTree ├── sshpk@1.16.1 20 silly idealTree ├── string_decoder@1.1.1 20 silly idealTree ├── string-width@1.0.2 20 silly idealTree ├── strip-ansi@3.0.1 20 silly idealTree ├── supports-color@5.5.0 20 silly idealTree ├── tar@4.4.13 20 silly idealTree ├── tough-cookie@2.5.0 20 silly idealTree ├── tslib@1.11.1 20 silly idealTree ├── tunnel-agent@0.6.0 20 silly idealTree ├── tweetnacl@0.14.5 20 silly idealTree ├── universalify@0.1.2 20 silly idealTree ├── uri-js@4.2.2 20 silly idealTree ├── util-deprecate@1.0.2 20 silly idealTree ├── uuid@3.4.0 20 silly idealTree ├── verror@1.10.0 20 silly idealTree ├── wcwidth@1.0.1 20 silly idealTree ├── which-module@2.0.0 20 silly idealTree ├── which@1.3.1 20 silly idealTree ├── wide-align@1.1.3 20 silly idealTree ├─┬ wrap-ansi@5.1.0 20 silly idealTree │ ├── ansi-regex@4.1.0 20 silly idealTree │ ├── is-fullwidth-code-point@2.0.0 20 silly idealTree │ ├── string-width@3.1.0 20 silly idealTree │ └── strip-ansi@5.2.0 20 silly idealTree ├── wrappy@1.0.2 20 silly idealTree ├── y18n@4.0.0 20 silly idealTree ├── yallist@3.1.1 20 silly idealTree ├── yargs-parser@15.0.1 20 silly idealTree └─┬ yargs@14.2.3 20 silly idealTree ├── ansi-regex@4.1.0 20 silly idealTree ├── is-fullwidth-code-point@2.0.0 20 silly idealTree ├── string-width@3.1.0 20 silly idealTree └── strip-ansi@5.2.0 21 silly install generateActionsToTake 22 timing stage:generateActionsToTake Completed in 156ms 23 silly diffTrees action count 0 24 silly decomposeActions action count 0 25 silly install executeActions 26 silly doSerial global-install 0 27 verbose correctMkdir /home/pi/.npm/_locks correctMkdir not in flight; initializing 28 verbose lock using /home/pi/.npm/_locks/staging-27e98ab6b31520c2.lock for /home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/.staging 29 silly doParallel extract 0 30 silly doReverseSerial unbuild 0 31 silly doSerial remove 0 32 silly doSerial move 0 33 silly doSerial finalize 0 34 silly doParallel refresh-package-json 0 35 silly doParallel preinstall 0 36 silly doSerial build 0 37 silly doSerial global-link 0 38 silly doParallel update-linked 0 39 silly doSerial install 0 40 silly doSerial postinstall 0 41 verbose unlock done using /home/pi/.npm/_locks/staging-27e98ab6b31520c2.lock for /home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/.staging 42 timing stage:executeActions Completed in 401ms 43 timing stage:rollbackFailedOptional Completed in 1ms 44 silly install runPostinstallTopLevelLifecycles 45 silly build mmm-dht-sensor@1.1.1 46 info linkStuff mmm-dht-sensor@1.1.1 47 silly linkStuff mmm-dht-sensor@1.1.1 has /home/pi/MagicMirror/modules as its parent node_modules 48 silly install mmm-dht-sensor@1.1.1 49 info lifecycle mmm-dht-sensor@1.1.1~install: mmm-dht-sensor@1.1.1 50 silly postinstall mmm-dht-sensor@1.1.1 51 info lifecycle mmm-dht-sensor@1.1.1~postinstall: mmm-dht-sensor@1.1.1 52 verbose lifecycle mmm-dht-sensor@1.1.1~postinstall: unsafe-perm in lifecycle true 53 verbose lifecycle mmm-dht-sensor@1.1.1~postinstall: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games 54 verbose lifecycle mmm-dht-sensor@1.1.1~postinstall: CWD: /home/pi/MagicMirror/modules/MMM-DHT-Sensor 55 silly lifecycle mmm-dht-sensor@1.1.1~postinstall: Args: [ '-c', 'electron-rebuild -e ../../node_modules/electron' ] 56 timing audit submit Completed in 648ms 57 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 658ms 58 timing audit body Completed in 20ms 59 silly lifecycle mmm-dht-sensor@1.1.1~postinstall: Returned: code: 255 signal: null 60 info lifecycle mmm-dht-sensor@1.1.1~postinstall: Failed to exec postinstall script 61 verbose stack Error: mmm-dht-sensor@1.1.1 postinstall: `electron-rebuild -e ../../node_modules/electron` 61 verbose stack Exit status 255 61 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16) 61 verbose stack at EventEmitter.emit (events.js:198:13) 61 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 61 verbose stack at ChildProcess.emit (events.js:198:13) 61 verbose stack at maybeClose (internal/child_process.js:982:16) 61 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 62 verbose pkgid mmm-dht-sensor@1.1.1 63 verbose cwd /home/pi/MagicMirror/modules/MMM-DHT-Sensor 64 verbose Linux 5.10.11-v7l+ 65 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "install" 66 verbose node v10.24.0 67 verbose npm v6.14.10 68 error code ELIFECYCLE 69 error errno 255 70 error mmm-dht-sensor@1.1.1 postinstall: `electron-rebuild -e ../../node_modules/electron` 70 error Exit status 255 71 error Failed at the mmm-dht-sensor@1.1.1 postinstall script. 71 error This is probably not a problem with npm. There is likely additional logging output above. 72 verbose exit [ 255, true ]
-
@bkeyport from your module folder, can you do this
npm ls node-abi
-
mmm-dht-sensor@1.1.1 /home/pi/MagicMirror/modules/MMM-DHT-Sensor └─┬ electron-rebuild@1.10.1 └── node-abi@2.16.0
For what it’s worth, it started working again on it’s own after issuing this command. No need to reinstall it’s dependencies.
Bizarre.
-
@bkeyport great!
-
I do have some strange things after the update.
At first, the new weather module is just “loading” without displaying content. Even after 30+ minutes. Is there something wrong with the config? I saw that there is a minor issue with the data request which will cause it to load for ~10min (or to reduce the update interval).
{ module: "weather", position: "top_right", classes: "always", config: { // See 'Configuration options' for more information. type: "current", locationID: "YYY", appid: "XXX" } },
And I have new lines of errors in the log, I don’t understand why these syntax errors appear. I checked my config file and everything looks fine. Regarding git, does this mean it couldn’t connect to github?
[03.04.2021 23:22.22.900] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input [03.04.2021 23:22.24.037] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input [03.04.2021 23:22.25.987] [ERROR] Failed to fetch git data for MMM-CountEvents: Error: block timeout reached [03.04.2021 23:22.27.080] [ERROR] Failed to fetch git data for MMM-Parcel: Error: block timeout reached [03.04.2021 23:22.35.518] [ERROR] Failed to fetch git data for MMM-Face-Reco-DNN: Error: block timeout reached [03.04.2021 23:22.39.290] [ERROR] Failed to fetch git data for MMM-PIR-Sensor: Error: block timeout reached [03.04.2021 23:32.42.638] [ERROR] Failed to fetch git data for MMM-CountEvents: Error: block timeout reached [03.04.2021 23:37.14.466] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input [03.04.2021 23:37.14.577] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input [03.04.2021 23:52.14.126] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input [03.04.2021 23:52.14.377] [ERROR] Failed to parse data , error SyntaxError: Unexpected end of JSON input
-
@chrizzz looks like a networking error… did u npm install after git pull? did both work?