Open MrMissx opened 2 months ago
still happened on 1.13.5
seems like this was an issue on the esbuild ?
✘ [ERROR] Expected "}" but found "."
<stdin>:738:449387:
738 │ ...),h||(t.size=0),void 0!=r&&c(r,t[u],{that:t,ASglobalThis._ENTRIES:n})}),d=l.prototype,v=g(e),y=function(t,e,n){v...
│ ^
╵ }
⚡️ Unexpected error: Build failed with 1 error:
⚡️ <stdin>:738:449387: ERROR: Expected "}" but found "."
fatal error: all goroutines are asleep - deadlock!
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x14000182000?)
runtime/sema.go:62 +0x28
sync.(*WaitGroup).Wait(0x140001862d8)
sync/waitgroup.go:139 +0x80
main.runService.func2()
github.com/evanw/esbuild/cmd/esbuild/service.go:150 +0xf8
main.runService(0x1)
github.com/evanw/esbuild/cmd/esbuild/service.go:204 +0x448
main.main()
github.com/evanw/esbuild/cmd/esbuild/main.go:228 +0x1b0
goroutine 18 [chan receive]:
main.runService.func1()
github.com/evanw/esbuild/cmd/esbuild/service.go:111 +0x4c
created by main.runService
github.com/evanw/esbuild/cmd/esbuild/service.go:109 +0x154
goroutine 19 [chan receive]:
main.(*serviceType).sendRequest(0x140001862c0, {0x100ddbd60, 0x140005bc0c0})
github.com/evanw/esbuild/cmd/esbuild/service.go:252 +0x210
main.runService.func3()
github.com/evanw/esbuild/cmd/esbuild/service.go:161 +0x38
created by main.runService
github.com/evanw/esbuild/cmd/esbuild/service.go:158 +0x2b4
goroutine 320 [chan receive]:
main.(*serviceType).sendRequest(0x140001862c0, {0x100ddbd60, 0x140000fa030})
github.com/evanw/esbuild/cmd/esbuild/service.go:252 +0x210
main.(*serviceType).convertPlugins.func2.2()
github.com/evanw/esbuild/cmd/esbuild/service.go:800 +0x114
github.com/evanw/esbuild/pkg/api.(*pluginImpl).onStart.func1()
github.com/evanw/esbuild/pkg/api/api_impl.go:1629 +0x34
github.com/evanw/esbuild/internal/bundler.ScanBundle.func1({{0x100cb6908, 0x12}, {0x14006ba0270, 0x1, 0x1}, {0x140005bc570, 0x1, 0x1}, {0x140005bc5d0, 0x1, ...}}, ...)
github.com/evanw/esbuild/internal/bundler/bundler.go:1120 +0x7c
created by github.com/evanw/esbuild/internal/bundler.ScanBundle
github.com/evanw/esbuild/internal/bundler/bundler.go:1119 +0x888
goroutine 433 [chan send]:
github.com/evanw/esbuild/internal/bundler.ScanBundle.func2()
github.com/evanw/esbuild/internal/bundler/bundler.go:1151 +0x1bc
created by github.com/evanw/esbuild/internal/bundler.ScanBundle
github.com/evanw/esbuild/internal/bundler/bundler.go:1149 +0x564
goroutine 418 [semacquire]:
sync.runtime_Semacquire(0x1400af10d00?)
runtime/sema.go:62 +0x28
sync.(*WaitGroup).Wait(0x1400046a340)
sync/waitgroup.go:139 +0x80
github.com/evanw/esbuild/internal/bundler.ScanBundle({_, _, _, _, _, _}, {_, _}, {_, _}, ...)
github.com/evanw/esbuild/internal/bundler/bundler.go:1197 +0x56c
github.com/evanw/esbuild/pkg/api.rebuildImpl({0x2, 0x4, 0x0, 0x140005bc270, 0x0, {0x0, 0x0}, 0x0, 0xa, {0x0, ...}, ...}, ...)
github.com/evanw/esbuild/pkg/api/api_impl.go:1143 +0x1748
github.com/evanw/esbuild/pkg/api.buildImpl({0x2, 0x4, 0x0, 0x140005bc270, 0x0, {0x0, 0x0}, 0x0, 0xa, {0x0, ...}, ...})
github.com/evanw/esbuild/pkg/api/api_impl.go:871 +0x474
github.com/evanw/esbuild/pkg/api.Build(...)
github.com/evanw/esbuild/pkg/api/api.go:366
main.(*serviceType).handleBuildRequest(0x140001862c0, 0x16?, 0x140005bc0f0?)
github.com/evanw/esbuild/cmd/esbuild/service.go:549 +0x7cc
main.(*serviceType).handleIncomingPacket(0x1?, {0x14000c1c000?, 0x0?, 0x100e43020?})
github.com/evanw/esbuild/cmd/esbuild/service.go:281 +0x124
main.runService.func4()
github.com/evanw/esbuild/cmd/esbuild/service.go:192 +0x30
created by main.runService
github.com/evanw/esbuild/cmd/esbuild/service.go:191 +0x45c
ELIFECYCLE Command failed with exit code 1.
next-on-pages environment related information
Description
Build failed when using
@cloudflare/next-on-pages@1.13.2
both on local and cloudflare deployment.Not happened on
@cloudflare/next-on-pages@1.13.1
.Reproduction
No response
Pages Deployment Method
Pages CI (GitHub/GitLab integration)
Pages Deployment ID
No response
Additional Information
Would you like to help?