Too Many Symlinks



Im using DepShield to monitor my github repo, but when it tried to build it, this error appeared:

npm WARN prepare removing existing node_modules/ before installation
npm ERR! path /var/sonatype/defender/node_modules/lodash.memoize/package.json
npm ERR! code ELOOP
npm ERR! errno -40
npm ERR! syscall open
npm ERR! ELOOP: too many symbolic links encountered, open '/var/sonatype/defender/node_modules/lodash.memoize/package.json'

npm ERR! A complete log of this run can be found in:
npm ERR!     /var/sonatype/defender/cache/npm/_logs/2019-02-15T08_14_50_900Z-debug.log

It looks like a issue with DepShield, cause none of my code is referenced.


Hi @gingkathfox, thanks for installing DepShield. This seems to be environment related, in particular the environment DepShield uses for installation. Thanks for reporting the problem although, unfortunately, I cannot provide any assistance at this point. My gut says that this will be an issue with npm projects where there are a lot of direct and transitive dependencies.