For anyone that faces this issue, try updating to Node 16 and run the command again. You can just use it for this command, and then go back to your version!
There is an issue with this particular line:
// src/helper.js: 61:71
var getDependencyTree = function getDependencyTree() {
var result = syncExec('npm ls --json ' + productionModifier);
return JSON.parse(result.stdout).dependencies;
};
The problem is that syncExec uses a child_process.exec to execute the npm command, and depending on the size of the output, it might break due to the restrictions of the buffer size.
For anyone that faces this issue, try updating to
Node 16
and run the command again. You can just use it for this command, and then go back to your version!There is an issue with this particular line:
The problem is that
syncExec
uses achild_process.exec
to execute thenpm
command, and depending on the size of the output, it might break due to the restrictions of the buffer size.