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

Add max_nesting parameter to npm list json parse #101

Merged
merged 1 commit into from
Jan 21, 2015

Conversation

rangoy
Copy link
Contributor

@rangoy rangoy commented Dec 18, 2014

Json parsing faild due to too deep nesting, and this made the install check fail. This caused the packages to be reinstalled on each run.

Hard coded to 100

==> default: Debug: Executing '/usr/bin/npm list --json --global'
==> default: Debug: Error: npm list --json command error nesting of 20 is too deep
==> default: Debug: Executing '/usr/bin/npm install --global bower'

Json parsing faild due to too deep nesting, and this made the install check fail. This caused the packages to be reinstalled  on each run.

Hard coded to 100

==> default: Debug: Executing '/usr/bin/npm list --json --global'
==> default: Debug: Error: npm list --json command error nesting of 20 is too deep
==> default: Debug: Executing '/usr/bin/npm install --global bower'
@rangoy
Copy link
Contributor Author

rangoy commented Dec 18, 2014

Note that #78 will need similar change to not fail at the 'latest' function

@ghost
Copy link

ghost commented Jan 15, 2015

+1

underscorgan pushed a commit that referenced this pull request Jan 21, 2015
Add max_nesting parameter to npm list json parse
@underscorgan underscorgan merged commit d351c33 into voxpupuli:master Jan 21, 2015
@underscorgan
Copy link
Contributor

Great, thanks @rangoy !

cegeka-jenkins pushed a commit to cegeka/puppet-nodejs that referenced this pull request Oct 23, 2017
Add max_nesting parameter to npm list json parse
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

Successfully merging this pull request may close these issues.

2 participants