You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: interface conversion: bundler.fileRepr is *bundler.reprCSS, not *bundler.reprJS
goroutine 97 [running]:
github.com/evanw/esbuild/internal/bundler.(*linkerContext).computeCrossChunkDependencies.func1(0x14000cfac00, 0x6, 0x6, 0x14000188900, 0x14000740000, 0x6, 0xa, 0x1400072c370, 0x0, 0x140003029d8, ...)
/Users/evan/dev/esbuild/internal/bundler/linker.go:1027 +0x760
created by github.com/evanw/esbuild/internal/bundler.(*linkerContext).computeCrossChunkDependencies
/Users/evan/dev/esbuild/internal/bundler/linker.go:943 +0x194
app/node_modules/esbuild/lib/main.js:1036
return callback(new Error(error), null);
^
Error: The service was stopped
at app/node_modules/esbuild/lib/main.js:1036:31
at app/node_modules/esbuild/lib/main.js:576:9
at Socket.afterClose (app/node_modules/esbuild/lib/main.js:554:7)
at Socket.emit (node:events:381:22)
at endReadableNT (node:internal/streams/readable:1307:12)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
The text was updated successfully, but these errors were encountered:
pheuter
changed the title
Panic on v0.10.1panic: interface conversion on v0.10.1
Mar 26, 2021
Thanks for the report. I can reproduce this given the information in the stack trace. It looks like this only happens when code splitting is active and there is a CSS entry point as well as two or more JavaScript entry points. I don't believe CSS bundling works well (or at all) in this scenario, which is something to be aware of (#608). So hopefully this scenario isn't too common. I'm aware of the issues and am working on fixing them. Regardless, esbuild obviously shouldn't crash. I'll fix this crash in the next release.
Works perfectly fine on v0.10.0.
The text was updated successfully, but these errors were encountered: