Open viliusl opened 7 years ago
@amir-arad - rollback or try with optionalDependencies
?
Wouldn't adding the teamcity-env-reporter
dependency you need to your package.json
along with mocha-env-reporter
solve this problem? It seems that would just sidestep this library's dynamic auto-installation behavior.
when you try to do
npm shrinkwrap
it of course fails, becausemocha-env-reporter
package.json
does not containteamcity-env-reporter
and dep tree is invalid.Regardless of what we think of
npm
orshrinkwrap
imho it's uncool to break it. Maybe we can keep your introduced behavior and addoptionalDependencies
to keepnpm
calm?