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
Only with the snap binary do I get the following error:
/home/phil/.npm-global/lib/node_modules/npm-check-updates/lib/npm-check-updates.js:387
throw err;
^
Error: Expected JSON from "npm ls". This could be due to npm instability.
at parseJson (/home/phil/.npm-global/lib/node_modules/npm-check-updates/lib/package-managers/npm.js:38:15)
at /home/phil/.npm-global/lib/node_modules/npm-check-updates/lib/package-managers/npm.js:144:30
at processTicksAndRejections (internal/process/task_queues.js:89:5)
The command that is executed with child_process.spawn is npm ls --global --depth=0 --json which produces the correct JSON with both the PPA and the snap binary when executed directly from the terminal.
Activity
mscdex commentedon May 3, 2019
This should be posted to NodeSource's issue tracker instead.