Closed Raynos closed 8 years ago
Duplicate of https://github.com/bcoe/nyc/pull/274
@Raynos we bundle dependencies on newer versions of nyc
, do you see this issue if you upgrade?
@bcoe yes. Latest version of nyc had the issue.
I downgraded to nyc@4 to avoid this issue.
Should be fixed with new version of foreground-child
: https://github.com/tapjs/foreground-child/pull/12
@Raynos mind verifying?
@bcoe - We bundle foreground-child
, so this probably requires a new release.
@jamestalmage we've never bundled 1.5.0
is the thing, don't quite know what's happening to @Raynos but I'm glad we have a patch.
PR to upgrade foreground-child: https://github.com/bcoe/nyc/pull/276
nyc@6.4.4 with foreground-child@1.4.0 works
raynos at raynos-ThinkPad-T440p ~/uber/tcurl on master*
$ npm ls foreground-child
tcurl@4.22.2 /home/raynos/uber/tcurl
└─┬ nyc@6.4.4
└── foreground-child@1.4.0
I think what was broken for me was npm i nyc@5
. my project had "nyc": "^5.0.1"
which is suspect was before the bundling that came with 6.x
raynos at raynos-ThinkPad-T440p ~/uber/tcurl on master*
$ npm ls foreground-child
tcurl@4.22.2 /home/raynos/uber/tcurl
└─┬ nyc@5.6.0
└── foreground-child@1.5.1
So when I saw that nyc
was broken I tried updating with npm i nyc@5
instead of npm i nyc@latest
However now both the 6.x
and 5.x
lines are fixed and working.
@Raynos wonderful, there will be a new release a bit later tonight with the bundled fix too.
Looks like a newer version of
spawn-wrap
is not 0.10 compatible.