Skip to content
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

Big error and I have no idea what it means. #1608

Closed
kentcdodds opened this issue Sep 15, 2021 · 7 comments
Closed

Big error and I have no idea what it means. #1608

kentcdodds opened this issue Sep 15, 2021 · 7 comments

Comments

@kentcdodds
Copy link

I'm using mdx-bundler which uses esbuild under the hood. Occasionally I'll get the following output and I have no idea what it means. I can try to make a reproduction if needed, but maybe someone can tell me more about the error so I know what I'm trying to reproduce?

created by github.com/evanw/esbuild/internal/bundler.ScanBundle
	github.com/evanw/esbuild/internal/bundler/bundler.go:1021 +0x785
goroutine 2060 [semacquire]:
sync.runtime_Semacquire(0x0)
	runtime/sema.go:56 +0x25
sync.(*WaitGroup).Wait(0x820120)
	sync/waitgroup.go:130 +0x71
github.com/evanw/esbuild/internal/bundler.(*scanner).addEntryPoints(0xc002e76380, {0xc002e54d20, 0x1, 0x0})
	github.com/evanw/esbuild/internal/bundler/bundler.go:1381 +0xbe5
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc002e2e7e0, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1035 +0x7b7
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x14d, 0xc002d75bf0)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x1, {0xc002d44100, 0x1, 0x1})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 1305 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc0017d9d70})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc000fdfb60, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc000fdfb60, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc00037e600, 0x1, 0x8fb398}, {0x8fb398, 0xc000339500}, {0x901190, 0xc000191680}, 0xc00037e780, {0x4, 0xc000103a40, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc000191680}, {0x4, 0xc000103a40, 0xc00033a708, 0xc00033a720, 0xc0001a6b40}, {0x8fb398, 0xc000339500}, 0xc00037e660, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 1693 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc0022ad170})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc001468d20, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc001468d20, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc0018569c0, 0x1, 0x8fb398}, {0x8fb398, 0xc0002c0a80}, {0x901190, 0xc001674a00}, 0xc001856b40, {0x4, 0xc001866310, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc001674a00}, {0x4, 0xc001866310, 0xc00189c228, 0xc00189c240, 0xc000f95bc0}, {0x8fb398, 0xc0002c0a80}, 0xc001856a20, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 1960 [semacquire]:
sync.runtime_Semacquire(0x0)
	runtime/sema.go:56 +0x25
sync.(*WaitGroup).Wait(0xc002b58040)
	sync/waitgroup.go:130 +0x71
github.com/evanw/esbuild/internal/bundler.(*scanner).addEntryPoints(0xc002b7a380, {0xc002b5e780, 0x1, 0x0})
	github.com/evanw/esbuild/internal/bundler/bundler.go:1381 +0xbe5
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc002a3bbc0, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1035 +0x7b7
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x13b, 0xc002b40c90)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x1, {0xc0029bf700, 0x1, 0x1})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
Main child exited normally with code: 1
Starting clean up.
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 1307 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc0017d9e00})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc000fdfc20, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc000fdfc20, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc00037ea20, 0x1, 0x8fb398}, {0x8fb398, 0xc0003f4000}, {0x901190, 0xc0001917c0}, 0xc00037eba0, {0x4, 0xc000103b90, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc0001917c0}, {0x4, 0xc000103b90, 0xc00033aa08, 0xc00033aa20, 0xc0001a6c00}, {0x8fb398, 0xc0003f4000}, 0xc00037ea80, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 2038 [chan send]:
github.com/evanw/esbuild/internal/bundler.ScanBundle.func2()
	github.com/evanw/esbuild/internal/bundler/bundler.go:1023 +0x265
created by github.com/evanw/esbuild/internal/bundler.ScanBundle
	github.com/evanw/esbuild/internal/bundler/bundler.go:1021 +0x785
goroutine 1959 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc002b40c00})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.2({{0xc002a7a600, 0x5f}, {0x0, 0x0}, {0x0, 0x0}, {0xc0028ab160, 0x1d}, 0x0, {0x0, ...}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:687 +0x5f4
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnResolve.func1({{0xc002a7a600, 0x5f}, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, 0x0}, {0xc0028ab160, ...}, ...})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 140 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0002ddc00)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc00037e960, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x26, 0xc0003299e0)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc000184000, 0x0, 0x0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 141 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0006c6380)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc00037f980, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x27, 0xc0003e5740)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc000184580, 0x0, 0x0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 142 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0006c6a80)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc0004ae9c0, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x28, 0xc0003f94a0)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc000184b00, 0x0, 0x0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 143 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0006c7180)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc0004af980, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x29, 0xc0006d3200)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc000185080, 0x0, 0x0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 144 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0006c7880)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc00071a2a0, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x2a, 0xc00070af60)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x1, {0xc000185600, 0x1, 0x1})
[   45.710983] reboot: Restarting system

I've seen giant errors like this in production as well as locally. I'm just not sure what to do when I see this kind of error. It doesn't make any sense to me so I'm not sure what to do about it 😅

@kentcdodds
Copy link
Author

Had another error happen in production on me. Still no idea how to debug this. Can anyone give me insight of what to check first? I'm a JS dev and know next to nothing about Go.

goroutine 41 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0000c6380)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc0004f6ea0, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x1e, 0xc0005287b0)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc0001c5180, 0x0, 0x0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 42 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0000c6a80)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc00018e360, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x1f, 0xc000536030)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc0001c5700, 0x0, 0x0})
Main child exited normally with code: 1
Starting clean up.
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 43 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0000c7180)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc00018ea80, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x20, 0xc000536150)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc0001d2000, 0x0, 0x0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 44 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0000c7880)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc00018fb00, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x21, 0xc000536180)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc0001d2580, 0x0, 0x0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 45 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc000166000)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _}, {_, _}, {_, _}, 0xc0004f7260, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1036 +0x7d6
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...}, ...)
	github.com/evanw/esbuild/pkg/api/api_impl.go:964 +0x1b93
github.com/evanw/esbuild/pkg/api.buildImpl({0x0, 0x0, 0x4, 0x0, {0x0, 0x0}, 0x0, 0x0, {0x0, 0x0, ...}, ...})
	github.com/evanw/esbuild/pkg/api/api_impl.go:722 +0x555
github.com/evanw/esbuild/pkg/api.Build(...)
	github.com/evanw/esbuild/pkg/api/api.go:344
main.(*serviceType).handleBuildRequest(0xc00005c190, 0x22, 0xc0005362d0)
	github.com/evanw/esbuild/cmd/esbuild/service.go:459 +0x845
main.(*serviceType).handleIncomingPacket(0x0, {0xc0001d2b00, 0x0, 0x0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x195
main.runService.func3()
	github.com/evanw/esbuild/cmd/esbuild/service.go:123 +0x3b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:122 +0x4e5
goroutine 46 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc000166700)
	github.com/evanw/esbuild/internal/bundler/bundler.go:1530 +0x272
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc00051a4e0, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc0001804e0, 0x1, 0x8fb398}, {0x8fb398, 0xc000071180}, {0x901190, 0xc0004d4f00}, 0xc000180c00, {0x4, 0xc00046c700, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc0004d4f00}, {0x4, 0xc00046c700, 0xc0005c4b58, 0xc0005c4b70, 0xc0001a6b80}, {0x8fb398, 0xc000071180}, 0xc000180600, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 2873 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc002e605d0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc00051a5a0, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc00051a5a0, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc0004f6e40, 0x1, 0x8fb398}, {0x8fb398, 0xc0000c6000}, {0x901190, 0xc0004d4540}, 0xc000181260, {0x4, 0xc00046cc40, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc0004d4540}, {0x4, 0xc00046cc40, 0xc0004fad20, 0xc0004fad38, 0xc0001a7380}, {0x8fb398, 0xc0000c6000}, 0xc0004f6ea0, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 2875 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc002e60660})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc00051a660, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc00051a660, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc00018e300, 0x1, 0x8fb398}, {0x8fb398, 0xc0000c6700}, {0x901190, 0xc0004d5080}, 0xc00018e480, {0x4, 0xc00046ca10, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc0004d5080}, {0x4, 0xc00046ca10, 0xc0005c4e28, 0xc0005c4e40, 0xc0001a75e0}, {0x8fb398, 0xc0000c6700}, 0xc00018e360, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 2943 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc002f9c630})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc00177e2a0, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc00177e2a0, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc0008db8c0, 0x1, 0x8fb398}, {0x8fb398, 0xc000947c00}, {0x901190, 0xc00099a200}, 0xc0008dba40, {0x4, 0xc000102700, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc00099a200}, {0x4, 0xc000102700, 0xc000978738, 0xc000978750, 0xc00092e2e0}, {0x8fb398, 0xc000947c00}, 0xc0008db920, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 2879 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc002e60780})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc00051a840, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc00051a840, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc00018faa0, 0x1, 0x8fb398}, {0x8fb398, 0xc0000c7500}, {0x901190, 0xc0004d52c0}, 0xc00018ff20, {0x4, 0xc00046d420, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc0004d52c0}, {0x4, 0xc00046d420, 0xc0005c53b0, 0xc0005c53c8, 0xc0001a77a0}, {0x8fb398, 0xc0000c7500}, 0xc00018fb00, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 4113 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc0040f95c0})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc003dc79e0, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc003dc79e0, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc003f39380, 0x1, 0x8fb398}, {0x8fb398, 0xc003f79880}, {0x901190, 0xc003d2d700}, 0xc003f39500, {0x4, 0xc003dd93b0, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc003d2d700}, {0x4, 0xc003dd93b0, 0xc003f3b188, 0xc003f3b1a0, 0xc003da0dc0}, {0x8fb398, 0xc003f79880}, 0xc003f393e0, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 2881 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc002e60810})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.3({{0xc00051a900, 0x5f}, {0x8581cb, 0x4}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/cmd/esbuild/service.go:763 +0x426
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnLoad.func1({{{0xc00051a900, 0x5f}, {0x8581cb, 0x4}, {0x0, 0x0}, 0x0}, {0x7e9160, 0xaf0380}})
	github.com/evanw/esbuild/pkg/api/api_impl.go:1508 +0x16d
github.com/evanw/esbuild/internal/bundler.runOnLoadPlugins({0xc0004f7200, 0x1, 0x8fb398}, {0x8fb398, 0xc0000c7c00}, {0x901190, 0xc0004d4680}, 0xc0002ae780, {0x4, 0xc00046ce70, ...}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:803 +0xef5
github.com/evanw/esbuild/internal/bundler.parseFile({{0x901190, 0xc0004d4680}, {0x4, 0xc00046ce70, 0xc0004fb128, 0xc0004fb140, 0xc0001a7460}, {0x8fb398, 0xc0000c7c00}, 0xc0004f7260, ...})
	github.com/evanw/esbuild/internal/bundler/bundler.go:130 +0x239
created by github.com/evanw/esbuild/internal/bundler.(*scanner).maybeParseFile
	github.com/evanw/esbuild/internal/bundler/bundler.go:1139 +0x7e5
goroutine 4077 [chan receive]:
main.(*serviceType).sendRequest(0xc00005c190, {0x7fd0e0, 0xc003f86090})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.(*serviceType).convertPlugins.func2.1()
	github.com/evanw/esbuild/cmd/esbuild/service.go:633 +0x13b
github.com/evanw/esbuild/pkg/api.(*pluginImpl).OnStart.func1()
	github.com/evanw/esbuild/pkg/api/api_impl.go:1410 +0x4a
github.com/evanw/esbuild/internal/bundler.ScanBundle.func1({{0x860066, 0x12}, {0xc003f3a048, 0x1, 0x1}, {0xc003ef08d0, 0x1, 0x1}, {0xc003ef0930, 0x1, ...}}, ...)
	github.com/evanw/esbuild/internal/bundler/bundler.go:992 +0x6a

@kentcdodds
Copy link
Author

And I just got this locally. I don't think I was even doing anything on my server. Seemed to happen just randomly. Unfortunately there's so much logged that the VSCode terminal didn't keep it all, but here's the last of it: https://gist.github.com/kentcdodds/ca50dcea326e4851d79596e39683f771 (even that is too big for github).

I really have no idea where to go from here...

@evanw
Copy link
Owner

evanw commented Sep 18, 2021

These logs look like the tail end of an error message. The actual error message comes first and appears to be missing from these logs. Unfortunately that means what you posted doesn't contain any actionable information.

@kentcdodds
Copy link
Author

Ah, ok, in that case I'll run my server with Terminal.app so I don't lose the more helpful first bit of the error next time this happens. Thanks!

@kentcdodds
Copy link
Author

Alright, I've reproduced it locally and got all the logs. Here's the full thing: https://gist.github.com/kentcdodds/611a567add80fff3259617db4d8d880d

And here's the first bit:

<--- Last few GCs --->
[31642:0x7f9d20008000]   105486 ms: Mark-sweep 4036.6 (4130.1) -> 4029.6 (4136.2) MB, 4756.1 / 0.1 ms  (average mu = 0.356, current mu = 0.022) allocation failure scavenge might not succeed
[31642:0x7f9d20008000]   110156 ms: Mark-sweep 4045.6 (4136.4) -> 4038.4 (4144.9) MB, 4559.2 / 0.1 ms  (average mu = 0.223, current mu = 0.024) allocation failure scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0x1040ea3a5 node::Abort() (.cold.1) [/Users/kentcdodds/n/bin/node]
 2: 0x102dc5869 node::Abort() [/Users/kentcdodds/n/bin/node]
 3: 0x102dc59df node::OnFatalError(char const*, char const*) [/Users/kentcdodds/n/bin/node]
 4: 0x102f44347 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/Users/kentcdodds/n/bin/node]
 5: 0x102f442e3 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/kentcdodds/n/bin/node]
 6: 0x1031032e5 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/kentcdodds/n/bin/node]
 7: 0x103101d06 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/kentcdodds/n/bin/node]
 8: 0x10310e240 v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/kentcdodds/n/bin/node]
 9: 0x10310e2c1 v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/kentcdodds/n/bin/node]
10: 0x1030db4e7 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/Users/kentcdodds/n/bin/node]
11: 0x10348cd7e v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/Users/kentcdodds/n/bin/node]
12: 0x10382c2f9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/Users/kentcdodds/n/bin/node]
13: 0x10382d165 Builtins_StringAdd_CheckNone [/Users/kentcdodds/n/bin/node]
14: 0x1098dddf4 
fatal error: all goroutines are asleep - deadlock!
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x0)
	runtime/sema.go:56 +0x25
sync.(*WaitGroup).Wait(0xc00000e010)
	sync/waitgroup.go:130 +0x71
main.runService(0x1)
	github.com/evanw/esbuild/cmd/esbuild/service.go:138 +0x4cb
main.main()
	github.com/evanw/esbuild/cmd/esbuild/main.go:200 +0x1eb
goroutine 4 [chan receive]:
main.runService.func1()
	github.com/evanw/esbuild/cmd/esbuild/service.go:66 +0x4b
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:64 +0x212
goroutine 5 [chan receive]:
main.(*serviceType).sendRequest(0xc000100190, {0x13f85e0, 0xc003ceae70})
	github.com/evanw/esbuild/cmd/esbuild/service.go:163 +0xda
main.runService.func2()
	github.com/evanw/esbuild/cmd/esbuild/service.go:92 +0x39
created by main.runService
	github.com/evanw/esbuild/cmd/esbuild/service.go:89 +0x313
goroutine 6 [chan receive]:
github.com/evanw/esbuild/internal/bundler.(*scanner).scanAllDependencies(0xc0000fc380)
...

From what I can tell this means my system ran out of memory. In production I've had one or two out of memory errors as well and I'm guessing this was the culprit.

For additional relevant context, I'm using mdx-bundler which uses xdm + esbuild to compile ~200 mdx files. Here's some relevant code with comments explaining that I thought about this ahead of time 😅

async function getMdxPagesInDirectory(
  contentDir: string,
  options: CachifiedOptions,
) {
  const dirList = await getMdxDirList(contentDir, options)

  // our octokit throttle plugin will make sure we don't hit the rate limit
  const pageDatas = await Promise.all(
    dirList.map(async ({slug}) => {
      return {
        files: await downloadMdxFilesCached(contentDir, slug, options),
        slug,
      }
    }),
  )

  const pages: Array<MdxPage> = []
  for (const pageData of pageDatas) {
    // esbuild is already optimized to use as many resources as possible
    // so we don't want these running at the same time otherwise we'll
    // run out of memory.
    // eslint-disable-next-line no-await-in-loop
    const page = await compileMdxCached(
      contentDir,
      pageData.slug,
      pageData.files,
      options,
    )
    if (page) pages.push(page)
  }
  return pages
}

The compileMdxCached is a utility I have for caching the results of the mdx file compilation into redis so I don't have to do it unnecessarily (as fast as esbuild is, I think the xdm plugin still slows it down a bit, especially when we're talking about 200 bundles on basically every request).

Anyway, at this point I'm not sure how actionable this is for you all. I'll add some logging in place to make sure that I'm not inadvertently compiling two things at once and if I am then I know it's my problem, not yours. I think at this point, unless you just know a solution off the top of your head, wait for me to report back whether I can determine whether I'm running compilation in parallel.

Thanks for your patience here.

@kentcdodds
Copy link
Author

Alrighty, I was able to determine that I was indeed running this code multiple times in parallel leading to the OOM error. My bad. I'm putting some stuff in place to make sure I don't have this problem in the future (some p-queue should take care of that).

I don't think there's anything that can be done here (though maybe clipping some of the output by default would be helpful so it's not so difficult to find the useful output would be nice).

Thanks!

@evanw
Copy link
Owner

evanw commented Sep 22, 2021

clipping some of the output by default would be helpful so it's not so difficult to find the useful output would be nice

Unfortunately that's done by the Go runtime and not by esbuild, so that's not something I can change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants