You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NAME="Manjaro Linux"
ID=manjaro
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.manjaro.org/"
SUPPORT_URL="https://www.manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
[:~/Downloads/envinfo] master(+1/-0)* ±
[:~/Downloads/envinfo] master(+1/-0)* ± node src/cli.js
(node:10691) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '1' of null
at utils.run.then.v (/home/z/Downloads/envinfo/src/helpers.js:297:43)
(node:10691) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:10691) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not
handled will terminate the Node.js process with a non-zero exit code.
[:~/Downloads/envinfo] master(+1/-0)* ±
Replacing line 295 of helpers with const versionInfo = (v || '').match(/VERSION="(.+)"/) || []; fixes the issue:
Cloned from master to debug.
Replacing line 295 of helpers with
const versionInfo = (v || '').match(/VERSION="(.+)"/) || [];
fixes the issue:I'd be happy to open a PR.
The text was updated successfully, but these errors were encountered: