puppetlabs/puppetlabs-nodejs — pull request #101 by rangoy (2014-12-18 15:50:02+00:00)
Title: Add max_nesting parameter to npm list json parse

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'