-
Notifications
You must be signed in to change notification settings - Fork 220
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
'The "path" argument must be of type string' since 4.0.0-rc.1 #363
Comments
I've even gotten something like this where it gave that error in 3.0.5 (but tells me it "Received type undefined") but not when I downgraded to 3.0.0 (which is the version I'm using on a different project) where it all works just fine. From my own very rudimentary debugging... there is some kind of "outputs" array that isn't generated properly (and not used at all in 3.0.0) and I'm not sure why. |
Any traction on this one? I'm attempting to upgrade to webpack 4 and having problems getting karma working with karma-webpack rc.2 |
I am also having the same problem. Everything after [email protected] doesn't work because of the above error (or variations of it), with either [email protected] or karma@latest. |
see #361 |
Fixed in #361 and released. |
I still see this intermittently on rc.6. |
@matthieu-foucault I still see this issue on rc.6 |
Sorry but my focus isn't on this project at the moment, and likely won't be in the future. You'll have to find someone else willing to maintain it. |
What does this mean for the future of Karma? Should we be moving to something like Jest? |
Jest definitely has more support at the moment. I've been helping on this
plugin for a few months and been the only one making releases.
…On Sat, Mar 23, 2019, 10:22 Ivaylo Lafchiev ***@***.***> wrote:
Sorry but my focus isn't on this project at the moment, and likely won't
be in the future. You'll have to find someone else willing to maintain it.
What does this mean for the future of Karma? Should we be moving to
something like Jest?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#363 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACj0drvHucIULBA51-3DGUsZPqVOFLjXks5vZmLPgaJpZM4W5zN6>
.
|
Actual Behavior
Karma crashes out shortly after launch with:
4.0.0-beta.0 is okay; but rc.1 and rc.2 exhibit the problem.
Looks like a regression in ab4dde9 which happens when
stats.assetsByChunkName[entry]
returns an array of assets rather than a single asset. Then when calculating the tmp filename to be read, path.join() crashes out because it's trying to concatenate an array rather than a string.In this instance (https://github.com/vector-im/riot-web/tree/matthew/webpack4) it's because the
test/all-tests.js
entryPath has two assets:bundles/d918c3aa7df7ca65ad57/test/all-tests.js
andbundles/d918c3aa7df7ca65ad57/test/all-tests.css
.The text was updated successfully, but these errors were encountered: