Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readDependencies() crashes when parsed tree null/undefined #5

Closed
chrkhl opened this issue Nov 15, 2018 · 1 comment
Closed

readDependencies() crashes when parsed tree null/undefined #5

chrkhl opened this issue Nov 15, 2018 · 1 comment

Comments

@chrkhl
Copy link
Collaborator

chrkhl commented Nov 15, 2018

The following error occured (on a windows machine):
Reading installed packages failed! TypeError: Cannot set property 'isRoot' of null

const result = childProcess.spawnSync('npm', args);
const tree = JSON.parse(result.stdout);
// mark root level -> we want to exclude this level from analysis
tree.isRoot = true;

@chrkhl
Copy link
Collaborator Author

chrkhl commented Nov 21, 2018

This issue is fixed with pull request #6.
I think we are ready to release this as 1.0.0 now.

@chrkhl chrkhl closed this as completed Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant